home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: HyperCard Stack
(archive/hypercard).
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 28 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..(.STAK|........|
|00000010| 00 00 00 0a 00 02 f4 20 | 00 00 28 00 00 00 00 00 |....... |..(.....|
|00000020| 00 00 00 00 00 00 00 02 | 00 00 0a 7b 00 00 00 0d |........|...{....|
|00000030| 00 00 0e cf 00 00 1a 44 | 00 00 00 00 00 00 00 00 |.......D|........|
|00000040| 00 00 15 16 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 02 35 80 00 02 35 80 00 | 02 35 80 00 02 35 80 00 |.5...5..|.5...5..|
|00000070| dd 95 b0 93 00 00 00 00 | 00 28 00 20 01 7e 02 20 |........|.(. .~. |
|00000080| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000090| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 0d 07 00 00 0c b9 | 01 56 02 00 00 00 00 00 |........|.V......|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|000002d0| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|000002e0| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|000002f0| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000300| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000310| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|00000320| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|00000330| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|00000340| aa 00 aa 00 aa 00 aa 00 | 88 22 55 22 88 22 55 22 |........|."U"."U"|
|00000350| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|00000360| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|00000370| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000380| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000390| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|000003a0| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|000003b0| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|000003c0| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|000003d0| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|000003e0| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|000003f0| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000400| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000610| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000620| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000630| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000640| b0 b0 b0 b0 b0 b0 b0 0d | 2d 2d 20 74 68 69 73 20 |........|-- this |
|00000650| 69 73 20 74 68 65 20 68 | 61 6e 64 6c 65 72 20 74 |is the h|andler t|
|00000660| 68 61 74 20 72 65 70 6f | 72 74 73 20 72 65 73 75 |hat repo|rts resu|
|00000670| 6c 74 73 20 2d 2d 20 69 | 74 20 69 73 20 75 73 65 |lts -- i|t is use|
|00000680| 64 20 62 79 20 61 6c 6d | 6f 73 74 0d 2d 2d 20 65 |d by alm|ost.-- e|
|00000690| 76 65 72 79 20 64 69 61 | 6c 6f 67 20 6f 6e 20 74 |very dia|log on t|
|000006a0| 68 65 20 65 78 61 6d 70 | 6c 65 73 20 70 61 67 65 |he examp|les page|
|000006b0| 73 0d b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |s.......|........|
|000006c0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006d0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006e0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000006f0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 0d 6f 6e 20 73 6d 41 |........|..on smA|
|00000700| 6c 65 72 74 20 73 74 72 | 0d 62 65 65 70 0d 67 65 |lert str|.beep.ge|
|00000710| 74 20 73 68 6f 77 4d 6f | 64 61 6c 28 4e 2c 31 34 |t showMo|dal(N,14|
|00000720| 30 31 2c 73 74 72 29 0d | 65 6e 64 20 73 6d 41 6c |01,str).|end smAl|
|00000730| 65 72 74 0d 0d b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |ert.....|........|
|00000740| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000750| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000760| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000770| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 0d 2d 2d 20 |........|.....-- |
|00000780| 74 68 69 73 20 69 73 20 | 61 20 76 61 72 69 61 74 |this is |a variat|
|00000790| 69 6f 6e 20 6f 6e 20 73 | 6d 41 6c 65 72 74 20 74 |ion on s|mAlert t|
|000007a0| 68 61 74 20 73 68 6f 77 | 73 20 72 65 73 75 6c 74 |hat show|s result|
|000007b0| 73 20 69 6e 20 61 20 6c | 61 72 67 65 72 20 64 69 |s in a l|arger di|
|000007c0| 61 6c 6f 67 0d b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |alog....|........|
|000007d0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000007e0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000007f0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000800| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 0d 6f 6e 20 |........|.....on |
|00000810| 62 69 67 41 6c 65 72 74 | 20 73 74 72 0d 67 65 74 |bigAlert| str.get|
|00000820| 20 73 68 6f 77 4d 6f 64 | 61 6c 28 4e 2c 31 35 30 | showMod|al(N,150|
|00000830| 31 2c 20 73 74 72 29 0d | 65 6e 64 20 62 69 67 41 |1, str).|end bigA|
|00000840| 6c 65 72 74 0d 0d b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |lert....|........|
|00000850| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000860| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000870| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000880| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 0d 2d 2d |........|......--|
|00000890| 20 74 68 69 73 20 69 73 | 20 74 68 65 20 68 61 6e | this is| the han|
|000008a0| 64 6c 65 72 20 74 68 61 | 74 20 72 65 70 6f 72 74 |dler tha|t report|
|000008b0| 73 20 77 68 65 6e 20 74 | 68 65 20 75 73 65 72 20 |s when t|he user |
|000008c0| 63 61 6e 63 65 6c 73 20 | 61 20 64 69 61 6c 6f 67 |cancels |a dialog|
|000008d0| 0d 2d 2d 20 69 74 20 69 | 73 20 75 73 65 64 20 62 |.-- it i|s used b|
|000008e0| 79 20 61 6c 6d 6f 73 74 | 20 65 76 65 72 79 20 64 |y almost| every d|
|000008f0| 69 61 6c 6f 67 20 6f 6e | 20 74 68 65 20 65 78 61 |ialog on| the exa|
|00000900| 6d 70 6c 65 73 20 70 61 | 67 65 73 0d b0 b0 b0 b0 |mples pa|ges.....|
|00000910| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000920| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000930| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000940| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000950| b0 b0 b0 0d 6f 6e 20 63 | 61 6e 63 65 6c 41 6c 65 |....on c|ancelAle|
|00000960| 72 74 20 74 68 65 52 65 | 73 75 6c 74 0d 73 6d 41 |rt theRe|sult.smA|
|00000970| 6c 65 72 74 20 22 59 6f | 75 20 63 6c 69 63 6b 65 |lert "Yo|u clicke|
|00000980| 64 22 20 26 26 20 71 75 | 6f 74 65 20 26 20 22 43 |d" && qu|ote & "C|
|00000990| 61 6e 63 65 6c 22 20 26 | 20 71 75 6f 74 65 20 26 |ancel" &| quote &|
|000009a0| 20 22 21 22 0d 69 66 20 | 74 68 65 20 68 69 6c 69 | "!".if |the hili|
|000009b0| 74 65 20 6f 66 20 62 67 | 20 62 74 6e 20 69 64 20 |te of bg| btn id |
|000009c0| 37 30 20 74 68 65 6e 20 | 72 65 73 75 6c 74 73 41 |70 then |resultsA|
|000009d0| 6c 65 72 74 20 74 68 65 | 52 65 73 75 6c 74 0d 65 |lert the|Result.e|
|000009e0| 6e 64 20 63 61 6e 63 65 | 6c 41 6c 65 72 74 0d 0d |nd cance|lAlert..|
|000009f0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000a00| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000a10| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000a20| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000a30| b0 b0 b0 b0 b0 b0 b0 0d | 2d 2d 20 74 68 69 73 20 |........|-- this |
|00000a40| 69 73 20 74 68 65 20 68 | 61 6e 64 6c 65 72 20 74 |is the h|andler t|
|00000a50| 68 61 74 20 72 65 70 6f | 72 74 73 20 65 72 72 6f |hat repo|rts erro|
|00000a60| 72 73 20 2d 2d 20 69 74 | 20 69 73 20 75 73 65 64 |rs -- it| is used|
|00000a70| 20 62 79 20 61 6c 6d 6f | 73 74 0d 2d 2d 20 65 76 | by almo|st.-- ev|
|00000a80| 65 72 79 20 64 69 61 6c | 6f 67 20 6f 6e 20 74 68 |ery dial|og on th|
|00000a90| 65 20 65 78 61 6d 70 6c | 65 73 20 70 61 67 65 73 |e exampl|es pages|
|00000aa0| 0d 0d 2d 2d 20 69 74 20 | 69 73 20 6e 6f 74 20 61 |..-- it |is not a|
|00000ab0| 20 76 65 72 79 20 72 6f | 62 75 73 74 20 65 72 72 | very ro|bust err|
|00000ac0| 6f 72 20 68 61 6e 64 6c | 65 72 20 2d 2d 20 69 74 |or handl|er -- it|
|00000ad0| 20 61 73 73 75 6d 65 73 | 20 74 68 61 74 20 74 68 | assumes| that th|
|00000ae0| 65 20 6f 6e 6c 79 0d 2d | 2d 20 65 72 72 6f 72 20 |e only.-|- error |
|00000af0| 6e 6f 74 20 70 6f 73 73 | 69 62 6c 79 20 61 63 63 |not poss|ibly acc|
|00000b00| 6f 75 6e 74 65 64 20 66 | 6f 72 20 77 6f 75 6c 64 |ounted f|or would|
|00000b10| 20 62 65 20 61 20 6d 65 | 6d 6f 72 79 20 70 72 6f | be a me|mory pro|
|00000b20| 62 6c 65 6d 0d 2d 2d 20 | 53 68 6f 77 4d 6f 64 61 |blem.-- |ShowModa|
|00000b30| 6c 20 58 46 43 4e 20 72 | 65 74 75 72 6e 73 20 6d |l XFCN r|eturns m|
|00000b40| 6f 72 65 20 64 65 74 61 | 69 6c 65 64 20 65 72 72 |ore deta|iled err|
|00000b50| 6f 72 73 20 74 68 61 74 | 20 77 6f 75 6c 64 20 61 |ors that| would a|
|00000b60| 6c 6c 6f 77 20 61 20 6d | 6f 72 65 0d 2d 2d 20 65 |llow a m|ore.-- e|
|00000b70| 78 70 6c 69 63 69 74 20 | 65 72 72 6f 72 20 6d 65 |xplicit |error me|
|00000b80| 73 73 61 67 65 20 69 66 | 20 74 68 65 20 64 65 76 |ssage if| the dev|
|00000b90| 65 6c 6f 70 65 72 20 64 | 65 73 69 72 65 73 0d b0 |eloper d|esires..|
|00000ba0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000bb0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000bc0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000bd0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000be0| b0 b0 b0 b0 b0 b0 0d 6f | 6e 20 6d 65 6d 41 6c 65 |.......o|n memAle|
|00000bf0| 72 74 0d 70 75 74 20 22 | 48 79 70 65 72 43 61 72 |rt.put "|HyperCar|
|00000c00| 64 20 61 70 70 65 61 72 | 73 20 74 6f 20 6e 65 65 |d appear|s to nee|
|00000c10| 64 20 6d 6f 72 65 20 6d | 65 6d 6f 72 79 2e 20 51 |d more m|emory. Q|
|00000c20| 75 69 74 20 48 79 70 65 | 72 43 61 72 64 20 61 6e |uit Hype|rCard an|
|00000c30| 64 22 26 26 c2 0d 22 69 | 6e 63 72 65 61 73 65 20 |d"&&.."i|ncrease |
|00000c40| 69 74 73 20 6d 65 6d 6f | 72 79 20 70 61 72 74 69 |its memo|ry parti|
|00000c50| 74 69 6f 6e 20 62 65 66 | 6f 72 65 20 63 6f 6e 74 |tion bef|ore cont|
|00000c60| 69 6e 75 69 6e 67 20 74 | 6f 20 75 73 65 20 74 68 |inuing t|o use th|
|00000c70| 69 73 20 73 74 61 63 6b | 2e 22 20 c2 0d 69 6e 74 |is stack|." ..int|
|00000c80| 6f 20 70 72 6f 6d 70 74 | 0d 73 6d 41 6c 65 72 74 |o prompt|.smAlert|
|00000c90| 20 70 72 6f 6d 70 74 0d | 65 6e 64 20 6d 65 6d 41 | prompt.|end memA|
|00000ca0| 6c 65 72 74 0d 0d b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |lert....|........|
|00000cb0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000cc0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000cd0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000ce0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 0d 2d 2d |........|......--|
|00000cf0| 20 74 68 69 73 20 69 73 | 20 74 68 65 20 68 61 6e | this is| the han|
|00000d00| 64 6c 65 72 20 74 68 61 | 74 20 72 75 6e 73 20 74 |dler tha|t runs t|
|00000d10| 68 65 20 73 70 6c 61 73 | 68 20 64 69 61 6c 6f 67 |he splas|h dialog|
|00000d20| 20 77 68 65 6e 20 74 68 | 65 20 73 74 61 63 6b 20 | when th|e stack |
|00000d30| 6f 70 65 6e 73 0d b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |opens...|........|
|00000d40| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000d50| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000d60| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000d70| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 0d 6f 6e |........|......on|
|00000d80| 20 73 68 6f 77 53 70 6c | 61 73 68 0d 67 65 74 20 | showSpl|ash.get |
|00000d90| 73 68 6f 77 4d 6f 64 61 | 6c 28 4e 2c 31 32 38 36 |showModa|l(N,1286|
|00000da0| 2c 22 22 2c 22 22 2c 22 | 22 2c 22 22 2c 22 22 2c |,"","","|","","",|
|00000db0| 22 22 2c 73 29 0d 2d 2d | 20 67 65 74 20 73 68 6f |"",s).--| get sho|
|00000dc0| 77 4d 6f 64 61 6c 28 4e | 2c 31 32 38 36 2c 35 2c |wModal(N|,1286,5,|
|00000dd0| 22 22 2c 22 22 2c 22 22 | 2c 22 22 2c 22 22 2c 73 |"","",""|,"","",s|
|00000de0| 29 0d 69 66 20 6f 66 66 | 73 65 74 28 22 45 72 72 |).if off|set("Err|
|00000df0| 6f 72 22 2c 69 74 29 20 | ad 20 30 20 74 68 65 6e |or",it) |. 0 then|
|00000e00| 20 6d 65 6d 41 6c 65 72 | 74 0d 65 6e 64 20 73 68 | memAler|t.end sh|
|00000e10| 6f 77 53 70 6c 61 73 68 | 0d 0d b0 b0 b0 b0 b0 b0 |owSplash|........|
|00000e20| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000e30| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000e40| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000e50| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000e60| b0 0d 2d 2d 20 74 68 65 | 20 72 65 73 74 20 6f 66 |..-- the| rest of|
|00000e70| 20 74 68 65 73 65 20 68 | 61 6e 64 6c 65 72 73 20 | these h|andlers |
|00000e80| 61 72 65 20 75 73 65 64 | 20 62 79 20 74 68 65 20 |are used| by the |
|00000e90| 73 74 61 63 6b 2c 20 6e | 6f 74 20 62 79 20 64 69 |stack, n|ot by di|
|00000ea0| 61 6c 6f 67 73 0d b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |alogs...|........|
|00000eb0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000ec0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000ed0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00000ee0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 0d 6f 6e |........|......on|
|00000ef0| 20 6d 6f 75 73 65 55 70 | 0d 70 75 74 20 74 68 65 | mouseUp|.put the|
|00000f00| 20 63 6c 69 63 6b 43 68 | 75 6e 6b 20 69 6e 74 6f | clickCh|unk into|
|00000f10| 20 73 74 72 0d 69 66 20 | 77 6f 72 64 20 32 20 6f | str.if |word 2 o|
|00000f20| 66 20 73 74 72 20 3d 20 | 77 6f 72 64 20 34 20 6f |f str = |word 4 o|
|00000f30| 66 20 73 74 72 20 74 68 | 65 6e 20 70 61 73 73 20 |f str th|en pass |
|00000f40| 6d 6f 75 73 65 55 70 0d | 69 66 20 73 74 72 20 3d |mouseUp.|if str =|
|00000f50| 20 22 22 20 74 68 65 6e | 20 70 61 73 73 20 6d 6f | "" then| pass mo|
|00000f60| 75 73 65 55 70 0d 69 66 | 20 6f 66 66 73 65 74 28 |useUp.if| offset(|
|00000f70| 22 47 72 6f 75 70 22 2c | 74 68 65 20 74 65 78 74 |"Group",|the text|
|00000f80| 53 74 79 6c 65 20 6f 66 | 20 73 74 72 29 20 3d 20 |Style of| str) = |
|00000f90| 30 20 74 68 65 6e 20 70 | 61 73 73 20 6d 6f 75 73 |0 then p|ass mous|
|00000fa0| 65 55 70 0d 67 65 74 20 | 74 68 65 20 76 61 6c 75 |eUp.get |the valu|
|00000fb0| 65 20 6f 66 20 73 74 72 | 0d 69 66 20 69 74 20 3d |e of str|.if it =|
|00000fc0| 20 22 73 70 6c 61 73 68 | 22 20 74 68 65 6e 20 73 | "splash|" then s|
|00000fd0| 68 6f 77 53 70 6c 61 73 | 68 0d 65 6c 73 65 20 69 |howSplas|h.else i|
|00000fe0| 66 20 6f 66 66 73 65 74 | 28 22 68 65 72 65 22 2c |f offset|("here",|
|00000ff0| 69 74 29 20 3e 20 30 20 | 74 68 65 6e 20 63 6f 70 |it) > 0 |then cop|
|00001000| 79 55 52 4c 20 73 74 72 | 0d 65 6c 73 65 20 66 69 |yURL str|.else fi|
|00001010| 6e 64 43 61 72 64 28 69 | 74 29 0d 65 6e 64 20 6d |ndCard(i|t).end m|
|00001020| 6f 75 73 65 55 70 0d 0d | 6f 6e 20 63 6f 70 79 55 |ouseUp..|on copyU|
|00001030| 52 4c 20 75 72 6c 0d 70 | 75 74 20 77 6f 72 64 20 |RL url.p|ut word |
|00001040| 38 20 6f 66 20 75 72 6c | 20 69 6e 74 6f 20 74 68 |8 of url| into th|
|00001050| 65 46 6c 64 0d 70 75 74 | 20 28 77 6f 72 64 20 32 |eFld.put| (word 2|
|00001060| 20 6f 66 20 75 72 6c 29 | 20 69 6e 74 6f 20 6c 4e | of url)| into lN|
|00001070| 75 6d 0d 70 75 74 20 74 | 68 65 20 6e 75 6d 62 65 |um.put t|he numbe|
|00001080| 72 20 6f 66 20 6c 69 6e | 65 73 20 69 6e 20 63 68 |r of lin|es in ch|
|00001090| 61 72 20 31 20 74 6f 20 | 6c 4e 75 6d 20 6f 66 20 |ar 1 to |lNum of |
|000010a0| 66 6c 64 20 74 68 65 46 | 6c 64 20 69 6e 74 6f 20 |fld theF|ld into |
|000010b0| 6c 4e 75 6d 0d 70 75 74 | 20 73 74 72 69 70 50 72 |lNum.put| stripPr|
|000010c0| 65 28 6c 69 6e 65 20 6c | 4e 75 6d 20 2d 20 33 20 |e(line l|Num - 3 |
|000010d0| 6f 66 20 66 6c 64 20 74 | 68 65 46 6c 64 29 20 26 |of fld t|heFld) &|
|000010e0| 20 73 74 72 69 70 50 72 | 65 28 6c 69 6e 65 20 6c | stripPr|e(line l|
|000010f0| 4e 75 6d 20 2d 20 32 20 | 6f 66 20 66 6c 64 20 74 |Num - 2 |of fld t|
|00001100| 68 65 46 6c 64 29 20 69 | 6e 74 6f 20 66 6c 64 20 |heFld) i|nto fld |
|00001110| 69 64 20 31 35 0d 69 66 | 20 74 68 65 20 76 65 72 |id 15.if| the ver|
|00001120| 73 69 6f 6e 20 3e 20 32 | 2e 32 20 74 68 65 6e 20 |sion > 2|.2 then |
|00001130| 70 75 74 20 66 6c 64 20 | 69 64 20 31 35 20 69 6e |put fld |id 15 in|
|00001140| 74 6f 20 74 68 65 20 63 | 6c 69 70 62 6f 61 72 64 |to the c|lipboard|
|00001150| 0d 65 6c 73 65 0d 6c 6f | 63 6b 20 73 63 72 65 65 |.else.lo|ck scree|
|00001160| 6e 0d 73 68 6f 77 20 66 | 6c 64 20 69 64 20 31 35 |n.show f|ld id 15|
|00001170| 0d 73 65 6c 65 63 74 20 | 63 68 61 72 20 31 20 74 |.select |char 1 t|
|00001180| 6f 20 33 30 30 30 30 20 | 6f 66 20 66 6c 64 20 69 |o 30000 |of fld i|
|00001190| 64 20 31 35 0d 64 6f 4d | 65 6e 75 20 22 43 6f 70 |d 15.doM|enu "Cop|
|000011a0| 79 20 54 65 78 74 22 0d | 68 69 64 65 20 66 6c 64 |y Text".|hide fld|
|000011b0| 20 69 64 20 31 35 0d 75 | 6e 6c 6f 63 6b 20 73 63 | id 15.u|nlock sc|
|000011c0| 72 65 65 6e 0d 65 6e 64 | 20 69 66 0d 66 6c 61 73 |reen.end| if.flas|
|000011d0| 68 0d 65 6e 64 20 63 6f | 70 79 55 52 4c 0d 0d 66 |h.end co|pyURL..f|
|000011e0| 75 6e 63 74 69 6f 6e 20 | 73 74 72 69 70 50 72 65 |unction |stripPre|
|000011f0| 20 73 74 72 0d 67 65 74 | 20 6f 66 66 73 65 74 28 | str.get| offset(|
|00001200| 22 3a 22 2c 73 74 72 29 | 0d 72 65 74 75 72 6e 20 |":",str)|.return |
|00001210| 63 68 61 72 20 69 74 20 | 2b 20 32 20 74 6f 20 6c |char it |+ 2 to l|
|00001220| 65 6e 67 74 68 28 73 74 | 72 29 20 6f 66 20 73 74 |ength(st|r) of st|
|00001230| 72 0d 65 6e 64 20 73 74 | 72 69 70 50 72 65 0d 0d |r.end st|ripPre..|
|00001240| 6f 6e 20 6f 70 65 6e 53 | 74 61 63 6b 0d 67 65 74 |on openS|tack.get|
|00001250| 20 53 68 6f 77 4d 6f 64 | 61 6c 28 22 43 22 29 0d | ShowMod|al("C").|
|00001260| 69 66 20 6f 66 66 73 65 | 74 28 22 36 2e 30 35 22 |if offse|t("6.05"|
|00001270| 2c 69 74 29 20 3e 20 30 | 20 74 68 65 6e 0d 62 65 |,it) > 0| then.be|
|00001280| 65 70 0d 61 6e 73 77 65 | 72 20 22 54 68 69 73 20 |ep.answe|r "This |
|00001290| 73 74 61 63 6b 20 72 65 | 71 75 69 72 65 73 20 53 |stack re|quires S|
|000012a0| 79 73 74 65 6d 20 36 2e | 30 35 20 6f 72 20 68 69 |ystem 6.|05 or hi|
|000012b0| 67 68 65 72 2e 22 0d 67 | 6f 20 68 6f 6d 65 0d 65 |gher.".g|o home.e|
|000012c0| 6e 64 20 69 66 0d 69 66 | 20 69 74 65 6d 20 33 20 |nd if.if| item 3 |
|000012d0| 6f 66 20 74 68 65 20 73 | 63 72 65 65 6e 52 65 63 |of the s|creenRec|
|000012e0| 74 20 3d 20 35 31 32 20 | 74 68 65 6e 20 73 65 74 |t = 512 |then set|
|000012f0| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 63 64 20 77 | the loc| of cd w|
|00001300| 69 6e 64 6f 77 20 74 6f | 20 22 30 2c 30 22 0d 73 |indow to| "0,0".s|
|00001310| 65 74 4e 61 76 54 65 78 | 74 0d 69 66 20 74 68 65 |etNavTex|t.if the|
|00001320| 20 76 65 72 73 69 6f 6e | 20 ad 20 66 6c 64 20 69 | version| . fld i|
|00001330| 64 20 31 33 20 6f 66 20 | 63 64 20 31 20 74 68 65 |d 13 of |cd 1 the|
|00001340| 6e 20 73 65 74 55 70 53 | 74 61 63 6b 0d 63 68 61 |n setUpS|tack.cha|
|00001350| 6e 67 65 4e 61 76 42 75 | 74 74 6f 6e 0d 69 66 20 |ngeNavBu|tton.if |
|00001360| 74 68 65 20 6f 70 74 69 | 6f 6e 4b 65 79 20 3d 20 |the opti|onKey = |
|00001370| 75 70 20 74 68 65 6e 20 | 73 68 6f 77 53 70 6c 61 |up then |showSpla|
|00001380| 73 68 0d 73 68 6f 77 20 | 67 72 6f 75 70 73 0d 65 |sh.show |groups.e|
|00001390| 6e 64 20 6f 70 65 6e 53 | 74 61 63 6b 0d 0d 6f 6e |nd openS|tack..on|
|000013a0| 20 72 65 73 75 6d 65 53 | 74 61 63 6b 0d 73 68 6f | resumeS|tack.sho|
|000013b0| 77 20 67 72 6f 75 70 73 | 0d 65 6e 64 20 72 65 73 |w groups|.end res|
|000013c0| 75 6d 65 53 74 61 63 6b | 0d 0d 6f 6e 20 73 65 74 |umeStack|..on set|
|000013d0| 55 70 53 74 61 63 6b 0d | 67 6c 6f 62 61 6c 20 6e |UpStack.|global n|
|000013e0| 61 76 43 6f 6e 74 0d 73 | 65 6e 64 20 63 68 65 63 |avCont.s|end chec|
|000013f0| 6b 42 75 74 74 6f 6e 54 | 79 70 65 73 20 74 6f 20 |kButtonT|ypes to |
|00001400| 63 64 20 69 64 20 36 36 | 32 34 0d 69 66 20 74 68 |cd id 66|24.if th|
|00001410| 65 20 76 65 72 73 69 6f | 6e 20 3c 20 32 2e 32 20 |e versio|n < 2.2 |
|00001420| 74 68 65 6e 0d 73 65 74 | 20 74 68 65 20 69 63 6f |then.set| the ico|
|00001430| 6e 20 6f 66 20 62 67 20 | 62 74 6e 20 69 64 20 35 |n of bg |btn id 5|
|00001440| 20 6f 66 20 63 64 20 31 | 20 74 6f 20 30 0d 73 65 | of cd 1| to 0.se|
|00001450| 74 20 74 68 65 20 69 63 | 6f 6e 20 6f 66 20 62 67 |t the ic|on of bg|
|00001460| 20 62 74 6e 20 69 64 20 | 35 20 6f 66 20 63 64 20 | btn id |5 of cd |
|00001470| 69 64 20 36 36 32 34 20 | 74 6f 20 30 0d 73 65 74 |id 6624 |to 0.set|
|00001480| 20 74 68 65 20 73 74 79 | 6c 65 20 6f 66 20 62 67 | the sty|le of bg|
|00001490| 20 62 74 6e 20 69 64 20 | 35 20 6f 66 20 63 64 20 | btn id |5 of cd |
|000014a0| 31 20 74 6f 20 22 74 72 | 61 6e 73 70 61 72 65 6e |1 to "tr|ansparen|
|000014b0| 74 22 0d 73 65 74 20 74 | 68 65 20 73 74 79 6c 65 |t".set t|he style|
|000014c0| 20 6f 66 20 62 67 20 62 | 74 6e 20 69 64 20 35 20 | of bg b|tn id 5 |
|000014d0| 6f 66 20 63 64 20 69 64 | 20 36 36 32 34 20 74 6f |of cd id| 6624 to|
|000014e0| 20 22 74 72 61 6e 73 70 | 61 72 65 6e 74 22 0d 65 | "transp|arent".e|
|000014f0| 6c 73 65 20 69 66 20 74 | 68 65 20 76 65 72 73 69 |lse if t|he versi|
|00001500| 6f 6e 20 3e 20 32 2e 31 | 20 74 68 65 6e 0d 70 75 |on > 2.1| then.pu|
|00001510| 74 20 6e 61 76 43 6f 6e | 74 20 69 6e 74 6f 20 62 |t navCon|t into b|
|00001520| 67 20 62 74 6e 20 69 64 | 20 35 20 6f 66 20 63 64 |g btn id| 5 of cd|
|00001530| 20 31 0d 70 75 74 20 6e | 61 76 43 6f 6e 74 20 69 | 1.put n|avCont i|
|00001540| 6e 74 6f 20 62 67 20 62 | 74 6e 20 69 64 20 35 20 |nto bg b|tn id 5 |
|00001550| 6f 66 20 63 64 20 69 64 | 20 36 36 32 34 0d 73 65 |of cd id| 6624.se|
|00001560| 74 20 74 68 65 20 73 74 | 79 6c 65 20 6f 66 20 62 |t the st|yle of b|
|00001570| 67 20 62 74 6e 20 69 64 | 20 35 20 6f 66 20 63 64 |g btn id| 5 of cd|
|00001580| 20 31 20 74 6f 20 22 70 | 6f 70 75 70 22 0d 73 65 | 1 to "p|opup".se|
|00001590| 74 20 74 68 65 20 73 74 | 79 6c 65 20 6f 66 20 62 |t the st|yle of b|
|000015a0| 67 20 62 74 6e 20 69 64 | 20 35 20 6f 66 20 63 64 |g btn id| 5 of cd|
|000015b0| 20 69 64 20 36 36 32 34 | 20 74 6f 20 22 70 6f 70 | id 6624| to "pop|
|000015c0| 75 70 22 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 74 |up".end |if.put t|
|000015d0| 68 65 20 76 65 72 73 69 | 6f 6e 20 69 6e 74 6f 20 |he versi|on into |
|000015e0| 66 6c 64 20 69 64 20 31 | 33 20 6f 66 20 63 64 20 |fld id 1|3 of cd |
|000015f0| 31 0d 65 6e 64 20 73 65 | 74 55 70 53 74 61 63 6b |1.end se|tUpStack|
|00001600| 0d 0d 6f 6e 20 73 65 74 | 4e 61 76 54 65 78 74 0d |..on set|NavText.|
|00001610| 67 6c 6f 62 61 6c 20 6e | 61 76 43 6f 6e 74 0d 70 |global n|avCont.p|
|00001620| 75 74 20 22 49 6e 74 72 | 6f 64 75 63 74 69 6f 6e |ut "Intr|oduction|
|00001630| 22 20 26 20 72 65 74 75 | 72 6e 20 26 20 c2 0d 22 |" & retu|rn & .."|
|00001640| 45 78 61 6d 70 6c 65 73 | 20 d1 20 4e 6f 72 6d 61 |Examples| . Norma|
|00001650| 6c 20 26 20 53 70 6c 61 | 73 68 20 54 79 70 65 73 |l & Spla|sh Types|
|00001660| 22 20 26 20 72 65 74 75 | 72 6e 20 26 c2 0d 22 45 |" & retu|rn &.."E|
|00001670| 78 61 6d 70 6c 65 73 20 | d1 20 4c 69 73 74 20 26 |xamples |. List &|
|00001680| 20 50 6f 70 75 70 20 54 | 79 70 65 73 22 20 26 20 | Popup T|ypes" & |
|00001690| 72 65 74 75 72 6e 20 26 | c2 0d 22 49 6e 73 74 61 |return &|.."Insta|
|000016a0| 6c 6c 69 6e 67 20 53 68 | 6f 77 4d 6f 64 61 6c 20 |lling Sh|owModal |
|000016b0| 58 46 43 4e 22 20 26 20 | 72 65 74 75 72 6e 20 26 |XFCN" & |return &|
|000016c0| c2 0d 22 43 72 65 61 74 | 69 6e 67 20 44 69 61 6c |.."Creat|ing Dial|
|000016d0| 6f 67 20 52 65 73 6f 75 | 72 63 65 73 22 20 26 20 |og Resou|rces" & |
|000016e0| 72 65 74 75 72 6e 20 26 | c2 0d 22 53 68 6f 77 4d |return &|.."ShowM|
|000016f0| 6f 64 61 6c 20 58 46 43 | 4e 20 50 61 72 61 6d 65 |odal XFC|N Parame|
|00001700| 74 65 72 73 22 20 26 20 | 72 65 74 75 72 6e 20 26 |ters" & |return &|
|00001710| c2 0d 22 53 68 6f 77 4d | 6f 64 61 6c 27 73 20 52 |.."ShowM|odal's R|
|00001720| 65 74 75 72 6e 20 56 61 | 6c 75 65 73 22 20 26 20 |eturn Va|lues" & |
|00001730| 72 65 74 75 72 6e 20 26 | c2 0d 22 43 72 65 61 74 |return &|.."Creat|
|00001740| 69 6e 67 22 20 26 26 20 | 71 75 6f 74 65 20 26 20 |ing" && |quote & |
|00001750| 22 4e 6f 72 6d 61 6c 22 | 20 26 20 71 75 6f 74 65 |"Normal"| & quote|
|00001760| 20 26 26 20 22 44 69 61 | 6c 6f 67 73 22 20 26 20 | && "Dia|logs" & |
|00001770| 72 65 74 75 72 6e 20 26 | c2 0d 22 43 72 65 61 74 |return &|.."Creat|
|00001780| 69 6e 67 20 4c 69 73 74 | 20 44 69 61 6c 6f 67 73 |ing List| Dialogs|
|00001790| 22 20 26 20 72 65 74 75 | 72 6e 20 26 c2 0d 22 43 |" & retu|rn &.."C|
|000017a0| 72 65 61 74 69 6e 67 20 | 50 6f 70 75 70 20 44 69 |reating |Popup Di|
|000017b0| 61 6c 6f 67 73 22 20 26 | 20 72 65 74 75 72 6e 20 |alogs" &| return |
|000017c0| 26 c2 0d 22 43 72 65 61 | 74 69 6e 67 20 53 70 6c |&.."Crea|ting Spl|
|000017d0| 61 73 68 20 44 69 61 6c | 6f 67 73 22 20 26 20 72 |ash Dial|ogs" & r|
|000017e0| 65 74 75 72 6e 20 26 c2 | 0d 22 52 65 67 69 73 74 |eturn &.|."Regist|
|000017f0| 72 61 74 69 6f 6e 22 20 | 26 20 72 65 74 75 72 6e |ration" |& return|
|00001800| 20 26 c2 0d 22 54 68 61 | 6e 6b 20 79 6f 75 22 20 | &.."Tha|nk you" |
|00001810| 69 6e 74 6f 20 6e 61 76 | 43 6f 6e 74 0d 65 6e 64 |into nav|Cont.end|
|00001820| 20 73 65 74 4e 61 76 54 | 65 78 74 0d 0d 66 75 6e | setNavT|ext..fun|
|00001830| 63 74 69 6f 6e 20 67 65 | 74 4e 61 76 4f 66 66 73 |ction ge|tNavOffs|
|00001840| 65 74 20 73 74 72 0d 67 | 6c 6f 62 61 6c 20 6e 61 |et str.g|lobal na|
|00001850| 76 43 6f 6e 74 0d 72 65 | 74 75 72 6e 20 74 68 65 |vCont.re|turn the|
|00001860| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00001870| 20 69 6e 20 63 68 61 72 | 20 31 20 74 6f 20 6f 66 | in char| 1 to of|
|00001880| 66 73 65 74 28 73 74 72 | 2c 6e 61 76 43 6f 6e 74 |fset(str|,navCont|
|00001890| 29 20 6f 66 20 6e 61 76 | 43 6f 6e 74 0d 65 6e 64 |) of nav|Cont.end|
|000018a0| 20 67 65 74 4e 61 76 4f | 66 66 73 65 74 0d 0d 6f | getNavO|ffset..o|
|000018b0| 6e 20 6f 70 65 6e 43 61 | 72 64 0d 63 68 61 6e 67 |n openCa|rd.chang|
|000018c0| 65 4e 61 76 42 75 74 74 | 6f 6e 0d 70 61 73 73 20 |eNavButt|on.pass |
|000018d0| 6f 70 65 6e 63 61 72 64 | 0d 65 6e 64 20 6f 70 65 |opencard|.end ope|
|000018e0| 6e 43 61 72 64 0d 0d 6f | 6e 20 66 69 6e 64 43 61 |nCard..o|n findCa|
|000018f0| 72 64 20 73 74 72 0d 67 | 6f 20 63 64 20 67 65 74 |rd str.g|o cd get|
|00001900| 4e 61 76 4f 66 66 73 65 | 74 28 73 74 72 29 20 6f |NavOffse|t(str) o|
|00001910| 66 20 74 68 69 73 20 73 | 74 61 63 6b 0d 69 66 20 |f this s|tack.if |
|00001920| 74 68 65 20 72 65 73 75 | 6c 74 20 ad 20 22 22 20 |the resu|lt . "" |
|00001930| 74 68 65 6e 20 65 78 69 | 74 20 66 69 6e 64 43 61 |then exi|t findCa|
|00001940| 72 64 0d 65 6e 64 20 66 | 69 6e 64 43 61 72 64 0d |rd.end f|indCard.|
|00001950| 0d 6f 6e 20 63 68 61 6e | 67 65 4e 61 76 42 75 74 |.on chan|geNavBut|
|00001960| 74 6f 6e 0d 67 65 74 20 | 74 68 65 20 73 68 6f 72 |ton.get |the shor|
|00001970| 74 20 6e 61 6d 65 20 6f | 66 20 74 68 69 73 20 63 |t name o|f this c|
|00001980| 64 0d 69 66 20 74 68 65 | 20 76 65 72 73 69 6f 6e |d.if the| version|
|00001990| 20 3e 20 32 2e 31 20 74 | 68 65 6e 20 73 65 6c 65 | > 2.1 t|hen sele|
|000019a0| 63 74 20 6c 69 6e 65 20 | 67 65 74 4e 61 76 4f 66 |ct line |getNavOf|
|000019b0| 66 73 65 74 28 69 74 29 | 20 6f 66 20 62 67 20 62 |fset(it)| of bg b|
|000019c0| 74 6e 20 69 64 20 35 0d | 65 6c 73 65 20 73 65 74 |tn id 5.|else set|
|000019d0| 20 74 68 65 20 6e 61 6d | 65 20 6f 66 20 62 67 20 | the nam|e of bg |
|000019e0| 62 74 6e 20 69 64 20 35 | 20 74 6f 20 69 74 0d 65 |btn id 5| to it.e|
|000019f0| 6e 64 20 63 68 61 6e 67 | 65 4e 61 76 42 75 74 74 |nd chang|eNavButt|
|00001a00| 6f 6e 0d 0d 6f 6e 20 64 | 6f 44 4c 4f 47 49 6e 73 |on..on d|oDLOGIns|
|00001a10| 74 61 6c 6c 20 74 68 65 | 53 63 72 69 70 74 0d 67 |tall the|Script.g|
|00001a20| 6c 6f 62 61 6c 20 73 74 | 61 63 6b 32 0d 69 6e 73 |lobal st|ack2.ins|
|00001a30| 74 61 6c 6c 52 65 73 0d | 67 65 74 20 74 68 65 20 |tallRes.|get the |
|00001a40| 72 65 73 75 6c 74 0d 69 | 6e 73 74 61 6c 6c 53 63 |result.i|nstallSc|
|00001a50| 72 69 70 74 20 74 68 65 | 53 63 72 69 70 74 0d 69 |ript the|Script.i|
|00001a60| 66 20 69 74 20 3d 20 22 | 73 75 63 63 65 73 73 22 |f it = "|success"|
|00001a70| 20 74 68 65 6e 20 73 6d | 41 6c 65 72 74 20 22 49 | then sm|Alert "I|
|00001a80| 6e 73 74 61 6c 6c 61 74 | 69 6f 6e 20 69 6e 20 d2 |nstallat|ion in .|
|00001a90| 22 20 26 20 73 68 6f 72 | 74 4e 61 6d 65 28 73 74 |" & shor|tName(st|
|00001aa0| 61 63 6b 32 29 20 26 c2 | 0d 22 d3 20 77 61 73 20 |ack2) &.|.". was |
|00001ab0| 73 75 63 63 65 73 73 66 | 75 6c 2e 22 0d 64 6f 48 |successf|ul.".doH|
|00001ac0| 6f 6d 65 49 6e 66 6f 72 | 6d 20 73 74 61 63 6b 32 |omeInfor|m stack2|
|00001ad0| 0d 65 6e 64 20 64 6f 44 | 4c 4f 47 49 6e 73 74 61 |.end doD|LOGInsta|
|00001ae0| 6c 6c 0d 0d 6f 6e 20 69 | 6e 73 74 61 6c 6c 52 65 |ll..on i|nstallRe|
|00001af0| 73 0d 67 6c 6f 62 61 6c | 20 53 74 61 63 6b 31 2c |s.global| Stack1,|
|00001b00| 53 74 61 63 6b 32 2c 52 | 65 73 49 6e 66 6f 2c 74 |Stack2,R|esInfo,t|
|00001b10| 68 69 73 52 65 73 0d 70 | 75 74 20 67 65 74 54 68 |hisRes.p|ut getTh|
|00001b20| 69 73 53 74 61 63 6b 4e | 61 6d 65 28 29 20 69 6e |isStackN|ame() in|
|00001b30| 74 6f 20 73 74 61 63 6b | 31 0d 67 65 74 44 65 73 |to stack|1.getDes|
|00001b40| 74 53 74 61 63 6b 0d 69 | 66 20 73 74 61 63 6b 32 |tStack.i|f stack2|
|00001b50| 20 3d 20 22 43 61 6e 63 | 65 6c 22 20 74 68 65 6e | = "Canc|el" then|
|00001b60| 20 65 78 69 74 20 74 6f | 20 68 79 70 65 72 63 61 | exit to| hyperca|
|00001b70| 72 64 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |rd.set c|ursor to|
|00001b80| 20 77 61 74 63 68 0d 73 | 65 74 20 6c 6f 63 6b 4d | watch.s|et lockM|
|00001b90| 65 73 73 61 67 65 73 20 | 74 6f 20 74 72 75 65 0d |essages |to true.|
|00001ba0| 53 74 6f 70 20 55 73 69 | 6e 67 20 53 74 61 63 6b |Stop Usi|ng Stack|
|00001bb0| 20 53 74 61 63 6b 32 0d | 72 65 70 65 61 74 20 77 | Stack2.|repeat w|
|00001bc0| 69 74 68 20 78 20 3d 20 | 31 20 74 6f 20 74 68 65 |ith x = |1 to the|
|00001bd0| 20 6e 75 6d 62 65 72 20 | 6f 66 20 6c 69 6e 65 73 | number |of lines|
|00001be0| 20 69 6e 20 72 65 73 49 | 6e 66 6f 0d 70 75 74 20 | in resI|nfo.put |
|00001bf0| 6c 69 6e 65 20 78 20 6f | 66 20 72 65 73 49 6e 66 |line x o|f resInf|
|00001c00| 6f 20 69 6e 74 6f 20 74 | 68 69 73 52 65 73 0d 63 |o into t|hisRes.c|
|00001c10| 68 65 63 6b 46 6f 72 44 | 75 70 52 65 73 6f 75 72 |heckForD|upResour|
|00001c20| 63 65 20 73 74 61 63 6b | 32 0d 43 6f 70 79 52 65 |ce stack|2.CopyRe|
|00001c30| 73 20 74 68 65 52 65 73 | 54 79 70 65 28 74 68 69 |s theRes|Type(thi|
|00001c40| 73 52 65 73 29 2c 74 68 | 65 52 65 73 49 44 28 74 |sRes),th|eResID(t|
|00001c50| 68 69 73 52 65 73 29 2c | 53 74 61 63 6b 31 2c 53 |hisRes),|Stack1,S|
|00001c60| 74 61 63 6b 32 0d 70 75 | 74 20 74 68 65 20 72 65 |tack2.pu|t the re|
|00001c70| 73 75 6c 74 20 69 6e 74 | 6f 20 6c 69 6e 65 20 78 |sult int|o line x|
|00001c80| 20 6f 66 20 74 68 65 45 | 72 72 6f 72 0d 65 6e 64 | of theE|rror.end|
|00001c90| 20 72 65 70 65 61 74 0d | 70 75 73 68 20 74 68 69 | repeat.|push thi|
|00001ca0| 73 20 63 64 0d 6c 6f 63 | 6b 20 73 63 72 65 65 6e |s cd.loc|k screen|
|00001cb0| 0d 67 6f 20 68 6f 6d 65 | 0d 70 6f 70 20 63 64 0d |.go home|.pop cd.|
|00001cc0| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 69 66 |unlock s|creen.if|
|00001cd0| 20 74 68 65 45 72 72 6f | 72 20 63 6f 6e 74 61 69 | theErro|r contai|
|00001ce0| 6e 73 20 22 45 72 72 6f | 72 3a 22 20 74 68 65 6e |ns "Erro|r:" then|
|00001cf0| 20 73 6d 41 6c 65 72 74 | 20 74 68 65 45 72 72 6f | smAlert| theErro|
|00001d00| 72 0d 65 6c 73 65 20 72 | 65 74 75 72 6e 20 22 73 |r.else r|eturn "s|
|00001d10| 75 63 63 65 73 73 22 0d | 65 6e 64 20 69 6e 73 74 |uccess".|end inst|
|00001d20| 61 6c 6c 52 65 73 0d 0d | 66 75 6e 63 74 69 6f 6e |allRes..|function|
|00001d30| 20 73 68 6f 72 74 4e 61 | 6d 65 20 74 68 65 53 74 | shortNa|me theSt|
|00001d40| 61 63 6b 0d 73 65 74 20 | 74 68 65 20 69 74 65 6d |ack.set |the item|
|00001d50| 44 65 6c 69 6d 69 74 65 | 72 20 74 6f 20 22 3a 22 |Delimite|r to ":"|
|00001d60| 0d 70 75 74 20 74 68 65 | 20 6c 61 73 74 20 69 74 |.put the| last it|
|00001d70| 65 6d 20 6f 66 20 74 68 | 65 53 74 61 63 6b 20 69 |em of th|eStack i|
|00001d80| 6e 74 6f 20 74 68 65 53 | 74 61 63 6b 0d 73 65 74 |nto theS|tack.set|
|00001d90| 20 74 68 65 20 69 74 65 | 6d 44 65 6c 69 6d 69 74 | the ite|mDelimit|
|00001da0| 65 72 20 74 6f 20 22 2c | 22 0d 72 65 74 75 72 6e |er to ",|".return|
|00001db0| 20 74 68 65 53 74 61 63 | 6b 0d 65 6e 64 20 73 68 | theStac|k.end sh|
|00001dc0| 6f 72 74 4e 61 6d 65 0d | 0d 66 75 6e 63 74 69 6f |ortName.|.functio|
|00001dd0| 6e 20 74 68 65 52 65 73 | 54 79 70 65 20 72 65 73 |n theRes|Type res|
|00001de0| 49 6e 66 6f 0d 2d 2d 20 | 72 65 74 75 72 6e 20 74 |Info.-- |return t|
|00001df0| 68 65 20 72 65 73 6f 75 | 72 63 65 20 74 79 70 65 |he resou|rce type|
|00001e00| 20 6f 66 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 | of the |resource|
|00001e10| 0d 69 66 20 74 68 65 20 | 6e 75 6d 62 65 72 20 6f |.if the |number o|
|00001e20| 66 20 63 68 61 72 73 20 | 69 6e 20 77 6f 72 64 20 |f chars |in word |
|00001e30| 31 20 6f 66 20 72 65 73 | 49 6e 66 6f 20 3d 20 33 |1 of res|Info = 3|
|00001e40| 0d 74 68 65 6e 20 72 65 | 74 75 72 6e 20 77 6f 72 |.then re|turn wor|
|00001e50| 64 20 31 20 6f 66 20 72 | 65 73 49 6e 66 6f 20 26 |d 1 of r|esInfo &|
|00001e60| 20 73 70 61 63 65 0d 65 | 6c 73 65 20 72 65 74 75 | space.e|lse retu|
|00001e70| 72 6e 20 77 6f 72 64 20 | 31 20 6f 66 20 72 65 73 |rn word |1 of res|
|00001e80| 49 6e 66 6f 0d 65 6e 64 | 20 74 68 65 52 65 73 54 |Info.end| theResT|
|00001e90| 79 70 65 0d 0d 66 75 6e | 63 74 69 6f 6e 20 74 68 |ype..fun|ction th|
|00001ea0| 65 52 65 73 49 44 20 72 | 65 73 49 6e 66 6f 0d 72 |eResID r|esInfo.r|
|00001eb0| 65 74 75 72 6e 20 77 6f | 72 64 20 32 20 6f 66 20 |eturn wo|rd 2 of |
|00001ec0| 72 65 73 49 6e 66 6f 0d | 65 6e 64 20 74 68 65 52 |resInfo.|end theR|
|00001ed0| 65 73 49 44 0d 0d 66 75 | 6e 63 74 69 6f 6e 20 67 |esID..fu|nction g|
|00001ee0| 65 74 54 68 69 73 53 74 | 61 63 6b 4e 61 6d 65 0d |etThisSt|ackName.|
|00001ef0| 67 65 74 20 74 68 65 20 | 6c 6f 6e 67 20 6e 61 6d |get the |long nam|
|00001f00| 65 20 6f 66 20 74 68 69 | 73 20 73 74 61 63 6b 0d |e of thi|s stack.|
|00001f10| 72 65 74 75 72 6e 20 74 | 68 65 20 76 61 6c 75 65 |return t|he value|
|00001f20| 20 6f 66 20 77 6f 72 64 | 20 32 20 74 6f 20 28 74 | of word| 2 to (t|
|00001f30| 68 65 20 6e 75 6d 62 65 | 72 20 6f 66 20 77 6f 72 |he numbe|r of wor|
|00001f40| 64 73 20 69 6e 20 69 74 | 20 29 20 6f 66 20 69 74 |ds in it| ) of it|
|00001f50| 0d 65 6e 64 20 67 65 74 | 54 68 69 73 53 74 61 63 |.end get|ThisStac|
|00001f60| 6b 4e 61 6d 65 0d 0d 6f | 6e 20 63 68 65 63 6b 46 |kName..o|n checkF|
|00001f70| 6f 72 44 75 70 52 65 73 | 6f 75 72 63 65 20 64 65 |orDupRes|ource de|
|00001f80| 73 74 0d 67 6c 6f 62 61 | 6c 20 4d 79 53 65 6c 65 |st.globa|l MySele|
|00001f90| 63 74 65 64 4c 69 6e 65 | 2c 74 68 69 73 52 65 73 |ctedLine|,thisRes|
|00001fa0| 0d 70 75 74 20 77 6f 72 | 64 20 31 20 74 6f 20 32 |.put wor|d 1 to 2|
|00001fb0| 20 6f 66 20 74 68 69 73 | 52 65 73 20 26 20 73 70 | of this|Res & sp|
|00001fc0| 61 63 65 20 69 6e 74 6f | 20 74 79 70 65 41 6e 64 |ace into| typeAnd|
|00001fd0| 49 44 0d 70 75 74 20 6f | 66 66 73 65 74 28 74 79 |ID.put o|ffset(ty|
|00001fe0| 70 65 41 6e 64 49 44 2c | 72 65 73 6f 75 72 63 65 |peAndID,|resource|
|00001ff0| 73 28 64 65 73 74 29 29 | 20 69 6e 74 6f 20 74 68 |s(dest))| into th|
|00002000| 65 4f 66 66 73 65 74 0d | 69 66 20 74 68 65 4f 66 |eOffset.|if theOf|
|00002010| 66 73 65 74 20 3d 20 30 | 20 74 68 65 6e 20 65 78 |fset = 0| then ex|
|00002020| 69 74 20 63 68 65 63 6b | 46 6f 72 44 75 70 52 65 |it check|ForDupRe|
|00002030| 73 6f 75 72 63 65 0d 62 | 65 65 70 0d 61 6e 73 77 |source.b|eep.answ|
|00002040| 65 72 20 22 54 68 65 22 | 20 26 26 20 77 6f 72 64 |er "The"| && word|
|00002050| 20 31 20 6f 66 20 74 79 | 70 65 41 6e 64 49 44 20 | 1 of ty|peAndID |
|00002060| 26 26 20 22 72 65 73 6f | 75 72 63 65 20 49 44 22 |&& "reso|urce ID"|
|00002070| 20 26 26 20 c2 0d 77 6f | 72 64 20 32 20 6f 66 20 | && ..wo|rd 2 of |
|00002080| 74 79 70 65 41 6e 64 49 | 44 20 26 26 20 22 61 6c |typeAndI|D && "al|
|00002090| 72 65 61 64 79 20 65 78 | 69 73 74 73 2e 20 20 44 |ready ex|ists. D|
|000020a0| 6f 20 79 6f 75 20 77 61 | 6e 74 20 74 6f 22 20 26 |o you wa|nt to" &|
|000020b0| 26 20 c2 0d 22 72 65 70 | 6c 61 63 65 20 69 74 3f |& .."rep|lace it?|
|000020c0| 22 20 77 69 74 68 20 22 | 52 65 70 6c 61 63 65 22 |" with "|Replace"|
|000020d0| 20 6f 72 20 22 43 61 6e | 63 65 6c 22 0d 69 66 20 | or "Can|cel".if |
|000020e0| 69 74 20 3d 20 22 52 65 | 70 6c 61 63 65 22 20 74 |it = "Re|place" t|
|000020f0| 68 65 6e 20 72 65 6d 6f | 76 65 4f 6c 64 52 65 73 |hen remo|veOldRes|
|00002100| 6f 75 72 63 65 20 64 65 | 73 74 2c 20 74 68 65 4f |ource de|st, theO|
|00002110| 66 66 73 65 74 0d 65 6c | 73 65 20 65 78 69 74 20 |ffset.el|se exit |
|00002120| 74 6f 20 68 79 70 65 72 | 63 61 72 64 0d 65 6e 64 |to hyper|card.end|
|00002130| 20 63 68 65 63 6b 46 6f | 72 44 75 70 52 65 73 6f | checkFo|rDupReso|
|00002140| 75 72 63 65 0d 0d 6f 6e | 20 72 65 6d 6f 76 65 4f |urce..on| removeO|
|00002150| 6c 64 52 65 73 6f 75 72 | 63 65 20 64 65 73 74 2c |ldResour|ce dest,|
|00002160| 74 68 65 4f 66 66 73 65 | 74 0d 67 6c 6f 62 61 6c |theOffse|t.global|
|00002170| 20 74 68 69 73 52 65 73 | 2c 53 74 61 63 6b 31 2c | thisRes|,Stack1,|
|00002180| 53 74 61 63 6b 32 2c 52 | 65 73 53 69 7a 65 4c 69 |Stack2,R|esSizeLi|
|00002190| 73 74 31 2c 52 65 73 53 | 69 7a 65 4c 69 73 74 32 |st1,ResS|izeList2|
|000021a0| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 77 |.set cur|sor to w|
|000021b0| 61 74 63 68 0d 52 65 73 | 52 65 6d 6f 76 65 20 64 |atch.Res|Remove d|
|000021c0| 65 73 74 2c 74 68 65 52 | 65 73 54 79 70 65 28 74 |est,theR|esType(t|
|000021d0| 68 69 73 52 65 73 29 2c | 74 68 65 52 65 73 49 44 |hisRes),|theResID|
|000021e0| 28 74 68 69 73 52 65 73 | 29 0d 70 75 74 20 74 68 |(thisRes|).put th|
|000021f0| 65 20 72 65 73 75 6c 74 | 20 69 6e 74 6f 20 74 68 |e result| into th|
|00002200| 65 52 65 73 75 6c 74 0d | 69 66 20 74 68 65 52 65 |eResult.|if theRe|
|00002210| 73 75 6c 74 20 ad 20 22 | 22 20 74 68 65 6e 0d 73 |sult . "|" then.s|
|00002220| 6d 41 6c 65 72 74 20 74 | 68 65 52 65 73 75 6c 74 |mAlert t|heResult|
|00002230| 0d 65 78 69 74 20 74 6f | 20 68 79 70 65 72 43 61 |.exit to| hyperCa|
|00002240| 72 64 0d 65 6e 64 20 69 | 66 0d 65 6e 64 20 72 65 |rd.end i|f.end re|
|00002250| 6d 6f 76 65 4f 6c 64 52 | 65 73 6f 75 72 63 65 0d |moveOldR|esource.|
|00002260| 0d 6f 6e 20 61 64 64 4c | 69 6e 65 54 6f 4c 69 73 |.on addL|ineToLis|
|00002270| 74 20 72 65 73 49 44 0d | 67 6c 6f 62 61 6c 20 4d |t resID.|global M|
|00002280| 79 53 65 6c 65 63 74 65 | 64 4c 69 6e 65 2c 52 65 |ySelecte|dLine,Re|
|00002290| 73 53 69 7a 65 4c 69 73 | 74 31 2c 52 65 73 53 69 |sSizeLis|t1,ResSi|
|000022a0| 7a 65 4c 69 73 74 32 0d | 70 75 74 20 74 68 65 20 |zeList2.|put the |
|000022b0| 76 61 6c 75 65 20 6f 66 | 20 4d 79 53 65 6c 65 63 |value of| MySelec|
|000022c0| 74 65 64 4c 69 6e 65 20 | 69 6e 74 6f 20 6c 69 6e |tedLine |into lin|
|000022d0| 65 54 6f 4d 6f 76 65 0d | 70 75 74 20 72 65 73 49 |eToMove.|put resI|
|000022e0| 44 20 69 6e 74 6f 20 77 | 6f 72 64 20 32 20 6f 66 |D into w|ord 2 of|
|000022f0| 20 6c 69 6e 65 54 6f 4d | 6f 76 65 0d 69 66 20 6c | lineToM|ove.if l|
|00002300| 61 73 74 20 77 6f 72 64 | 20 6f 66 20 4d 79 53 65 |ast word| of MySe|
|00002310| 6c 65 63 74 65 64 4c 69 | 6e 65 20 3d 20 31 20 74 |lectedLi|ne = 1 t|
|00002320| 68 65 6e 0d 70 75 74 20 | 6c 69 6e 65 54 6f 4d 6f |hen.put |lineToMo|
|00002330| 76 65 20 26 20 72 65 74 | 75 72 6e 20 62 65 66 6f |ve & ret|urn befo|
|00002340| 72 65 20 63 64 20 66 6c | 64 20 22 53 74 61 63 6b |re cd fl|d "Stack|
|00002350| 20 32 22 0d 70 75 74 20 | 6c 69 6e 65 20 28 77 6f | 2".put |line (wo|
|00002360| 72 64 20 32 20 6f 66 20 | 4d 79 53 65 6c 65 63 74 |rd 2 of |MySelect|
|00002370| 65 64 4c 69 6e 65 29 20 | 6f 66 20 52 65 73 53 69 |edLine) |of ResSi|
|00002380| 7a 65 4c 69 73 74 31 20 | 26 20 c2 0d 72 65 74 75 |zeList1 |& ..retu|
|00002390| 72 6e 20 62 65 66 6f 72 | 65 20 52 65 73 53 69 7a |rn befor|e ResSiz|
|000023a0| 65 4c 69 73 74 32 0d 65 | 6c 73 65 0d 70 75 74 20 |eList2.e|lse.put |
|000023b0| 6c 69 6e 65 54 6f 4d 6f | 76 65 20 26 20 72 65 74 |lineToMo|ve & ret|
|000023c0| 75 72 6e 20 62 65 66 6f | 72 65 20 63 64 20 66 6c |urn befo|re cd fl|
|000023d0| 64 20 22 53 74 61 63 6b | 20 31 22 0d 70 75 74 20 |d "Stack| 1".put |
|000023e0| 6c 69 6e 65 20 28 77 6f | 72 64 20 32 20 6f 66 20 |line (wo|rd 2 of |
|000023f0| 4d 79 53 65 6c 65 63 74 | 65 64 4c 69 6e 65 29 20 |MySelect|edLine) |
|00002400| 6f 66 20 52 65 73 53 69 | 7a 65 4c 69 73 74 32 20 |of ResSi|zeList2 |
|00002410| 26 20 c2 0d 72 65 74 75 | 72 6e 20 62 65 66 6f 72 |& ..retu|rn befor|
|00002420| 65 20 52 65 73 53 69 7a | 65 4c 69 73 74 31 0d 65 |e ResSiz|eList1.e|
|00002430| 6e 64 20 69 66 0d 65 6e | 64 20 61 64 64 4c 69 6e |nd if.en|d addLin|
|00002440| 65 54 6f 4c 69 73 74 0d | 0d 6f 6e 20 64 6f 48 6f |eToList.|.on doHo|
|00002450| 6d 65 49 6e 66 6f 72 6d | 20 64 65 73 74 0d 2d 2d |meInform| dest.--|
|00002460| 20 75 73 65 72 20 6d 75 | 73 74 20 72 65 73 74 61 | user mu|st resta|
|00002470| 72 74 20 48 79 70 65 72 | 43 61 72 64 20 61 66 74 |rt Hyper|Card aft|
|00002480| 65 72 20 63 6f 70 79 69 | 6e 67 20 72 65 73 6f 75 |er copyi|ng resou|
|00002490| 72 63 65 73 20 69 6e 74 | 6f 20 48 6f 6d 65 0d 67 |rces int|o Home.g|
|000024a0| 65 74 20 6c 61 73 74 20 | 77 6f 72 64 20 6f 66 20 |et last |word of |
|000024b0| 64 65 73 74 0d 69 66 20 | 69 74 20 3d 20 22 48 6f |dest.if |it = "Ho|
|000024c0| 6d 65 22 20 2d 2d 20 c6 | 0d 74 68 65 6e 20 20 61 |me" -- .|.then a|
|000024d0| 6e 73 77 65 72 20 22 52 | 65 73 6f 75 72 63 65 73 |nswer "R|esources|
|000024e0| 20 69 6e 73 74 61 6c 6c | 65 64 20 69 6e 74 6f 20 | install|ed into |
|000024f0| 74 68 65 20 48 6f 6d 65 | 20 73 74 61 63 6b 20 77 |the Home| stack w|
|00002500| 69 6c 6c 20 62 65 63 6f | 6d 65 20 61 76 61 69 6c |ill beco|me avail|
|00002510| 61 62 6c 65 20 77 68 65 | 6e 22 20 26 26 20 c2 0d |able whe|n" && ..|
|00002520| 22 79 6f 75 20 71 75 69 | 74 20 61 6e 64 20 72 65 |"you qui|t and re|
|00002530| 6c 61 75 6e 63 68 20 48 | 79 70 65 72 43 61 72 64 |launch H|yperCard|
|00002540| 2e 22 20 77 69 74 68 20 | 22 43 6f 6e 74 69 6e 75 |." with |"Continu|
|00002550| 65 22 20 6f 72 20 22 51 | 75 69 74 22 20 2d 2d 20 |e" or "Q|uit" -- |
|00002560| c6 0d 69 66 20 69 74 20 | 69 73 20 22 51 75 69 74 |..if it |is "Quit|
|00002570| 22 20 74 68 65 6e 20 2d | 2d 20 c6 0d 73 65 6e 64 |" then -|- ..send|
|00002580| 20 22 63 6c 6f 73 65 43 | 61 72 64 22 20 74 6f 20 | "closeC|ard" to |
|00002590| 74 68 69 73 20 63 64 0d | 64 6f 4d 65 6e 75 20 22 |this cd.|doMenu "|
|000025a0| 51 75 69 74 20 48 79 70 | 65 72 43 61 72 64 22 0d |Quit Hyp|erCard".|
|000025b0| 65 6e 64 20 69 66 0d 65 | 6e 64 20 64 6f 48 6f 6d |end if.e|nd doHom|
|000025c0| 65 49 6e 66 6f 72 6d 0d | 0d 6f 6e 20 67 65 74 44 |eInform.|.on getD|
|000025d0| 65 73 74 53 74 61 63 6b | 0d 67 6c 6f 62 61 6c 20 |estStack|.global |
|000025e0| 73 74 61 63 6b 32 0d 61 | 6e 73 77 65 72 20 66 69 |stack2.a|nswer fi|
|000025f0| 6c 65 20 22 50 6c 65 61 | 73 65 20 63 68 6f 6f 73 |le "Plea|se choos|
|00002600| 65 20 61 20 74 61 72 67 | 65 74 20 73 74 61 63 6b |e a targ|et stack|
|00002610| 22 20 6f 66 20 74 79 70 | 65 20 22 53 54 41 4b 22 |" of typ|e "STAK"|
|00002620| 0d 69 66 20 74 68 65 20 | 72 65 73 75 6c 74 20 3d |.if the |result =|
|00002630| 20 22 43 61 6e 63 65 6c | 22 20 74 68 65 6e 20 70 | "Cancel|" then p|
|00002640| 75 74 20 74 68 65 20 72 | 65 73 75 6c 74 20 69 6e |ut the r|esult in|
|00002650| 74 6f 20 73 74 61 63 6b | 32 0d 65 6c 73 65 20 70 |to stack|2.else p|
|00002660| 75 74 20 69 74 20 69 6e | 74 6f 20 73 74 61 63 6b |ut it in|to stack|
|00002670| 32 0d 65 6e 64 20 67 65 | 74 44 65 73 74 53 74 61 |2.end ge|tDestSta|
|00002680| 63 6b 0d 0d 6f 6e 20 69 | 6e 73 74 61 6c 6c 53 63 |ck..on i|nstallSc|
|00002690| 72 69 70 74 20 74 68 65 | 53 63 72 69 70 74 0d 67 |ript the|Script.g|
|000026a0| 6c 6f 62 61 6c 20 73 74 | 61 63 6b 32 0d 67 65 74 |lobal st|ack2.get|
|000026b0| 20 74 68 65 20 73 63 72 | 69 70 74 20 6f 66 20 73 | the scr|ipt of s|
|000026c0| 74 61 63 6b 20 73 74 61 | 63 6b 32 0d 70 75 74 20 |tack sta|ck2.put |
|000026d0| 72 65 74 75 72 6e 20 26 | 20 72 65 74 75 72 6e 20 |return &| return |
|000026e0| 26 20 74 68 65 53 63 72 | 69 70 74 20 61 66 74 65 |& theScr|ipt afte|
|000026f0| 72 20 69 74 0d 73 65 74 | 20 74 68 65 20 73 63 72 |r it.set| the scr|
|00002700| 69 70 74 20 6f 66 20 73 | 74 61 63 6b 20 73 74 61 |ipt of s|tack sta|
|00002710| 63 6b 32 20 74 6f 20 69 | 74 0d 67 65 74 20 74 68 |ck2 to i|t.get th|
|00002720| 65 20 72 65 73 75 6c 74 | 0d 65 6e 64 20 69 6e 73 |e result|.end ins|
|00002730| 74 61 6c 6c 53 63 72 69 | 70 74 0d 0d 6f 6e 20 72 |tallScri|pt..on r|
|00002740| 65 73 75 6c 74 73 41 6c | 65 72 74 20 73 74 72 0d |esultsAl|ert str.|
|00002750| 62 69 67 41 6c 65 72 74 | 20 22 53 68 6f 77 4d 6f |bigAlert| "ShowMo|
|00002760| 64 61 6c 20 72 65 74 75 | 72 6e 65 64 3a 22 20 26 |dal retu|rned:" &|
|00002770| 20 72 65 74 75 72 6e 20 | 26 20 72 65 74 75 72 6e | return |& return|
|00002780| 20 26 20 73 74 72 0d 65 | 6e 64 20 72 65 73 75 6c | & str.e|nd resul|
|00002790| 74 73 41 6c 65 72 74 00 | 00 00 00 00 00 00 00 00 |tsAlert.|........|
|000027a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000027f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002800| 00 00 02 00 4d 41 53 54 | ff ff ff ff 00 00 00 00 |....MAST|........|
|00002810| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002820| 00 0f 1d 15 00 11 7f ea | 00 01 94 7b 00 07 ab 7f |........|...{....|
|00002830| 00 17 82 b9 00 17 93 07 | 00 07 ad cf 00 01 bf c5 |........|........|
|00002840| 00 00 00 00 00 13 67 2b | 00 16 ce 50 00 17 45 f1 |......g+|...P..E.|
|00002850| 00 0b 72 49 00 17 96 16 | 00 0e e0 69 00 01 bd e9 |..rI....|...i....|
|00002860| 00 00 00 00 00 08 77 e0 | 00 01 50 44 00 14 1a 75 |......w.|..PD...u|
|00002870| 00 14 d3 bd 00 15 af ec | 00 16 89 da 00 01 54 ca |........|......T.|
|00002880| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002890| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000028f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002900| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002910| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000029f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a00| 00 00 00 80 4c 49 53 54 | 00 00 1a 44 00 00 00 00 |....LIST|...D....|
|00002a10| 00 00 00 01 00 00 08 00 | 00 00 00 0d 00 84 00 02 |........|........|
|00002a20| 00 20 00 03 40 00 04 06 | 00 00 00 0d 00 00 00 00 |. ..@...|........|
|00002a30| 00 00 1f ca 00 0d 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a80| 00 00 08 00 50 41 47 45 | 00 00 1f ca 00 00 00 00 |....PAGE|........|
|00002a90| 00 00 1a 44 0a ab ec fd | 00 00 0e cf e0 7f ae f7 |...D....|........|
|00002aa0| 2e 5f e9 5f 4b be 2f df | ff 57 7e 11 fb 7e cd 7f |._._K./.|.W~..~..|
|00002ab0| db bf 49 af d7 72 af 7b | fb 69 79 da ef ff bc f3 |..I..r.{|.iy.....|
|00002ac0| f0 59 ff ef 6e b7 9e ff | fe 9f fe 7b bf af df 57 |.Y..n...|...{...W|
|00002ad0| 36 e0 fb d2 ef bf ed 1f | 7b 1d de ff f3 6f fd 6f |6.......|{....o.o|
|00002ae0| fd f6 37 9f ff ef 7f ff | df f8 bb 9f ff 7f e7 f5 |..7.....|........|
|00002af0| cf db 95 df ef fd fe bf | de ff fd 8e ad fc ff bf |........|........|
|00002b00| e2 d7 e5 fb b5 5f fe fb | bf bd 5f 59 76 6b fc f1 |....._..|.._Yvk..|
|00002b10| b9 c7 73 3b 7d b5 bf 77 | ef 7c be f8 00 00 19 e0 |..s;}..w|.|......|
|00002b20| e0 75 de b7 4e 77 fd fb | ef 3f 4f 9f ff 7f ff 1d |.u..Nw..|.?O.....|
|00002b30| ed 7f 3d ed f9 be 6d ef | f6 76 ef 5b f9 7d 7f ff |..=...m.|.v.[.}..|
|00002b40| 7d ff bf 7b ee e3 ff df | 6f ff dd ff f7 ef ee ff |}..{....|o.......|
|00002b50| b7 6b de 77 77 f8 7f fc | e7 bf 7d 7f ff bd df fd |.k.ww...|..}.....|
|00002b60| f6 ed dd 6b fd fb 7f d7 | 7f e7 ff ef ff f9 ff 1f |...k....|........|
|00002b70| ff 7d df 75 cf fd 25 ff | ff fd 6e bf df fe ff d6 |.}.u..%.|..n.....|
|00002b80| fd f5 ff bb e6 f7 bf 5f | f5 7f ee 3b 97 ff ff ff |......._|...;....|
|00002b90| bf 7b fc f5 b9 7e ff bb | f9 dd ef 5d ef f7 5b 78 |.{...~..|...]..[x|
|00002ba0| 00 00 14 49 a0 7f f7 ff | ff ff ff fb 7f bf ff ff |...I....|........|
|00002bb0| ff ff ff f7 ff ff ff ff | f7 ff ef bf f5 ff ff fb |........|........|
|00002bc0| ff ff ff ff ff ff ff fb | fd ff ff ff ef ff ff ff |........|........|
|00002bd0| ff ef ff ff ff ff ff ff | 77 ff ff ff ff bf ff ff |........|w.......|
|00002be0| ff ff ff 7d ef ff ff ff | ff fb ff 9f ff ff ff ff |...}....|........|
|00002bf0| ff fb df ff df ff ff ff | ff fd 75 ff ff ff ff ff |........|..u.....|
|00002c00| ff ff ff fe ff fd ff ff | ef ff ff ff 57 ff ff fb |........|....W...|
|00002c10| af ff ff ff ff ff ff fd | fd 4f ff fb ff f7 ed 3f |........|.O.....?|
|00002c20| ff ff ff fc 00 00 16 69 | e0 21 04 81 0a 0a 98 14 |.......i|.!......|
|00002c30| 01 28 14 17 f1 12 2a 00 | c1 3a 51 20 12 2f 09 27 |.(....*.|.:Q ./.'|
|00002c40| 14 61 24 52 e9 41 01 00 | 6c 75 98 48 6c 00 72 88 |.a$R.A..|lu.Hl.r.|
|00002c50| 0e a2 9d 07 e6 8c 6e 30 | 80 61 bf 16 02 60 29 82 |......n0|.a...`).|
|00002c60| 1f 36 0c 07 88 02 56 62 | c2 05 cc 7c 59 14 14 93 |.6....Vb|...|Y...|
|00002c70| e6 27 00 42 d9 80 0a 04 | 19 99 86 70 82 8e 03 cc |.'.B....|...p....|
|00002c80| 6b 4c a2 d5 09 b8 e0 44 | 80 6c 62 bc 00 96 01 51 |kL.....D|.lb....Q|
|00002c90| 01 51 ce 89 03 30 5a 48 | 02 49 28 b8 29 48 42 13 |.Q...0ZH|.I(.)HB.|
|00002ca0| 00 f1 a8 03 02 06 55 00 | 00 00 08 15 a0 79 af bf |......U.|.....y..|
|00002cb0| cf ff ff df 6b bf 3d ff | ff fb 7f b6 ff ff fd ff |....k.=.|........|
|00002cc0| df ff 4f ff ff 77 2f ff | eb ff 7f ff ff ff bf bd |..O..w/.|........|
|00002cd0| ff 7f ff ff ef fe ff ff | ff cf ff df ff ff fe d7 |........|........|
|00002ce0| 7f f7 ff ff ef bf bd ff | ff ff df fe ff ef fd ff |........|........|
|00002cf0| fd ff fd ff 7f ff ff ff | ff fb bf ff ff ff df 7d |........|.......}|
|00002d00| ff ff ed fd ff de fe ff | ff ff ff fe ed ff ff ba |........|........|
|00002d10| e7 ff ff 5f ff fd fe ff | eb ff ff fb b7 7f fc ff |..._....|........|
|00002d20| ff 7f f7 fb ff ed bd 77 | ff ff ff fc 00 00 09 ea |.......w|........|
|00002d30| a0 7f af af ee ff ff 7b | 63 3f 97 9f ff 7f 7f 35 |.......{|c?.....5|
|00002d40| fd f7 dd ff df bf cf fe | f7 e7 af 6f eb ed ff fb |........|...o....|
|00002d50| fd ff be ff ec 9b ff bf | ef f7 ff ff ff ef ff fb |........|........|
|00002d60| be e7 ff d3 77 ef 3f fd | ff bd 6d 7f fb fd ce ff |....w.?.|..m.....|
|00002d70| fe 7f df ef 7f bf ff df | 7f ef f7 ff ff f9 bf df |........|........|
|00002d80| ff fd ff 7d ff ff ad fd | fd fd ff ff ff ff ef ce |...}....|........|
|00002d90| fb fe ff b8 67 fe af 7f | 77 7f ea fb bb fd 7f fb |....g...|w.......|
|00002da0| f7 7b fe fd bd 5e ff fb | df f5 bf 3f df 7b bd 7c |.{...^..|...?.{.||
|00002db0| 00 00 11 2b a0 1d 4e af | 36 7e fd dc 43 be 07 9f |...+..N.|6~..C...|
|00002dc0| bf 5b 6d a8 ef 3e 99 77 | f9 bb f5 ea df 76 2f 7e |.[m..>.w|.....v/~|
|00002dd0| f8 79 67 fa fd e7 f6 eb | ec 93 ff d4 e6 b7 f8 ef |.yg.....|........|
|00002de0| ff 4f ed 7b 92 6a 9e 1f | 27 61 3f b8 ef 3c 0d 3f |.O.{.j..|'a?..<.?|
|00002df0| 9d 7d cb 7c fb fe d8 6b | 7d 73 7e c7 77 e7 6f 6f |.}.|...k|}s~.w.oo|
|00002e00| d4 fa af af 1b ed d7 fd | cb fd 0d dd 5d fc e2 2e |........|....]...|
|00002e10| ad fe fb d6 88 f4 f7 a8 | e6 fe ac 7f c7 78 f8 bb |........|.....x..|
|00002e20| d7 fc 7b 5a 2e 69 e4 79 | b9 7d f7 fb dc d1 ad 23 |..{Z.i.y|.}.....#|
|00002e30| e2 7f 1b 7c 00 00 1b 75 | a0 71 07 35 1e 48 bd d1 |...|...u|.q.5.H..|
|00002e40| 43 3e 07 97 ff d3 6c 09 | f1 b7 8d 2d 61 ed c5 aa |C>....l.|...-a...|
|00002e50| f4 e3 2f 5f f9 65 62 fa | ed ef b5 b3 e8 89 cf 99 |../_.eb.|........|
|00002e60| ef a6 dd ef f6 ce 66 ce | be 69 ff d3 73 40 bf 95 |......f.|.i..s@..|
|00002e70| e7 bc 6d 1f fb 5d da fd | f6 7d df e3 7d b3 35 07 |..m..]..|.}..}.5.|
|00002e80| 53 e7 67 ed dd e9 bc 1e | bb 4d 9f 7c 8f fd 05 dd |S.g.....|.M.|....|
|00002e90| 7f bc ae ad cf be a9 86 | a8 f6 f7 be 65 f6 af 5e |........|....e..^|
|00002ea0| d7 5a ff 7b 87 fd 7b d8 | 2e 79 72 3b a9 5e c3 bb |.Z.{..{.|.yr;.^..|
|00002eb0| f9 cb ad 24 da 72 5f 7c | 00 00 1c bd a0 73 0f 27 |...$.r_||.....s.'|
|00002ec0| 1e 4a fd d1 43 3e 07 97 | ff d7 6c 09 f0 b7 8d 6d |.J..C>..|..l....m|
|00002ed0| 53 fd c5 aa f4 e3 27 5f | fb 65 66 fb ed ef b5 b3 |S.....'_|.ef.....|
|00002ee0| e8 cb ef d9 ef a2 dd ff | f6 cc 66 df fe 69 ff d3 |........|..f..i..|
|00002ef0| 77 c1 bf 91 ef bd 6d 3f | fb 5d da fd f6 7d df e3 |w.....m?|.]...}..|
|00002f00| 7d b3 35 87 7b e7 67 cd | dd e9 bd 1f fb 4d 9f 7c |}.5.{.g.|.....M.||
|00002f10| ef fd 05 dd ff bd ee ad | cf be a8 86 a8 f6 f7 be |........|........|
|00002f20| 65 f6 af 5e d7 7a ff 5b | c7 fd 7b d8 2e 7b 72 3b |e..^.z.[|..{..{r;|
|00002f30| a9 5f c3 f3 fb cb ad 24 | da 72 5f 7c 00 00 1d ec |._.....$|.r_|....|
|00002f40| a0 71 07 a7 1e 4a fd d1 | 43 3e 07 97 ff d7 6c 0d |.q...J..|C>....l.|
|00002f50| f2 b7 85 6d 41 fd c7 aa | f4 e3 27 5f f9 65 66 fb |...mA...|..'_.ef.|
|00002f60| ed ef b5 bb e8 89 ef d9 | ef a2 dd ef f6 cf 66 df |........|......f.|
|00002f70| be 69 ff d3 77 c1 bf 91 | ef bd 6d 7f fb 5d de fd |.i..w...|..m..]..|
|00002f80| f6 7d df e7 7d b3 35 17 | 73 e7 67 cd dd e9 bd 1f |.}..}.5.|s.g.....|
|00002f90| bb 4d 9f 7c 8f fd 45 dd | ff bf ae ad ef be e8 86 |.M.|..E.|........|
|00002fa0| a8 f6 f7 be 65 fe af 5e | f7 7a ff 7b c7 fd 7b d8 |....e..^|.z.{..{.|
|00002fb0| 2e 7b 7e 7b ad 5f f3 f3 | fb cb ad 24 da 72 5f 7c |.{~{._..|...$.r_||
|00002fc0| 00 00 1e da a0 71 05 02 | 0a 02 3d d0 43 3a 01 93 |.....q..|..=.C:..|
|00002fd0| bd 93 6c 08 71 b6 81 64 | 41 2d 04 a2 f4 e3 2f 4b |..l.q..d|A-..../K|
|00002fe0| e9 41 4e fa 08 66 95 b0 | 40 09 f4 98 6f a6 5d cb |.AN..f..|@...o.].|
|00002ff0| f4 8c a6 d8 b2 2b dd d3 | 32 40 97 10 a7 a4 41 33 |.....+..|2@....A3|
|00003000| da 5d da d8 c4 65 dc e3 | 5d e3 10 03 03 87 43 ec |.]...e..|].....C.|
|00003010| d4 49 2d 0e 93 4d 8f 14 | 07 9d 01 58 56 b8 0a a4 |.I-..M..|...XV...|
|00003020| d5 9e 21 42 a8 f4 f7 36 | 21 d6 2c 56 85 52 db 11 |..!B...6|!.,V.R..|
|00003030| a6 38 7a 91 26 68 22 11 | 29 48 c3 b3 e8 db a9 25 |.8z.&h".|)H.....%|
|00003040| 5a 73 4d 74 00 00 12 50 | a0 59 ad 34 ef 1f 31 79 |ZsMt...P|.Y.4..1y|
|00003050| cb 7b bf b3 b7 6d e3 51 | e4 b2 19 bf c1 8f 4d f7 |.{...m.Q|......M.|
|00003060| d6 f5 9d 7f fd c7 5f 88 | ff ed fe bb 7d 4b da ed |......_.|....}K..|
|00003070| ee d6 ff ef fe dd f0 37 | bf 66 b6 b7 7b 4d ff df |.......7|.f..{M..|
|00003080| ff ef 8b 1f eb 5d fd fd | ca 2c dd 6f fd ff e9 57 |.....]..|.,.o...W|
|00003090| f7 f5 77 d1 d7 fa cd 7f | bb fe bf bd af fe 33 6f |..w.....|......3o|
|000030a0| ef f3 ae b6 be fb fc cf | ad ec 7d 33 ef 77 ed 7d |........|..}3.w.}|
|000030b0| d3 7f fa 8f ff bf 6d 35 | ad f9 50 fd 1c d9 f1 6e |......m5|..P....n|
|000030c0| f9 ad a8 71 de 3d 1f 74 | 00 00 13 f1 a0 5d 81 a6 |...q.=.t|.....]..|
|000030d0| 2f 52 b9 0a 1b 38 e7 8a | b1 d3 27 04 dc 3c 41 36 |/R...8..|..'..<A6|
|000030e0| 54 a7 4f b4 f5 70 a5 71 | b1 6d ed 94 ff fd b5 bb |T.O..p.q|.m......|
|000030f0| b0 48 6a f1 4f 95 9a ff | e6 88 93 73 9e db e6 1f |.Hj.O...|...s....|
|00003100| 2e 2b bf b8 78 16 6d 0a | ca 99 57 31 82 7c ec ca |.+..x.m.|..W1.|..|
|00003110| b5 f8 fe c3 e4 eb ef fa | 93 f0 8e 8f de f9 9d 78 |........|.......x|
|00003120| 67 f1 65 8d 9e 8c de ab | de e9 ee 8c a9 3c fd 10 |g.e.....|.....<..|
|00003130| 42 fe 26 fa c3 3c eb 96 | b3 3a 4e 97 ae 4d cc 5d |B.&..<..|.:N..M.]|
|00003140| f0 a9 32 52 18 e0 21 20 | 48 68 5d dc 00 00 00 00 |..2R..! |Hh].....|
|00003150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000031f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00003280| 00 00 05 20 42 4b 47 44 | 00 00 0a 7b 00 00 00 00 |... BKGD|...{....|
|00003290| 00 00 17 e9 00 00 00 00 | 00 00 00 0b 00 00 0f c5 |........|........|
|000032a0| 00 00 0f c5 00 0a 00 10 | 00 00 02 3a 00 02 00 00 |........|...:....|
|000032b0| 01 6c 00 26 00 01 02 05 | 00 32 00 1d 01 31 01 e5 |.l.&....|.2...1..|
|000032c0| 00 07 00 00 00 00 00 00 | 00 15 00 0c 00 00 00 10 |........|........|
|000032d0| 69 6e 66 6f 00 00 00 00 | 00 74 00 05 01 00 00 11 |info....|.t......|
|000032e0| 00 17 00 24 01 0e 80 0b | 00 00 00 01 00 00 00 15 |...$....|........|
|000032f0| 00 0c 01 00 00 10 53 68 | 6f 77 4d 6f 64 61 6c 27 |......Sh|owModal'|
|00003300| 73 20 52 65 74 75 72 6e | 20 56 61 6c 75 65 73 00 |s Return| Values.|
|00003310| 00 6f 6e 20 6d 6f 75 73 | 65 55 70 0d 67 65 74 20 |.on mous|eUp.get |
|00003320| 74 68 65 20 73 65 6c 65 | 63 74 65 64 54 65 78 74 |the sele|ctedText|
|00003330| 20 6f 66 20 6d 65 0d 67 | 6f 20 63 64 20 69 74 0d | of me.g|o cd it.|
|00003340| 65 6e 64 20 6d 6f 75 73 | 65 55 70 00 00 40 00 07 |end mous|eUp..@..|
|00003350| 01 00 01 3c 00 18 01 4f | 00 2e 20 00 00 00 08 85 |...<...O|.. .....|
|00003360| 00 01 00 00 00 0c 00 00 | 00 10 00 00 6f 6e 20 6d |........|....on m|
|00003370| 6f 75 73 65 55 70 0d 67 | 6f 20 68 6f 6d 65 0d 65 |ouseUp.g|o home.e|
|00003380| 6e 64 20 6d 6f 75 73 65 | 55 70 00 00 00 42 00 08 |nd mouse|Up...B..|
|00003390| 01 00 01 3c 00 33 01 4f | 00 50 20 00 00 00 19 3c |...<.3.O|.P ....<|
|000033a0| 00 01 00 00 00 0c 00 00 | 00 10 00 00 6f 6e 20 6d |........|....on m|
|000033b0| 6f 75 73 65 55 70 0d 67 | 6f 20 70 72 65 76 20 63 |ouseUp.g|o prev c|
|000033c0| 64 0d 65 6e 64 20 6d 6f | 75 73 65 55 70 00 00 42 |d.end mo|useUp..B|
|000033d0| 00 09 01 00 01 3c 00 54 | 01 4f 00 71 20 00 00 00 |.....<.T|.O.q ...|
|000033e0| 18 23 00 01 00 00 00 0c | 00 00 00 10 00 00 6f 6e |.#......|......on|
|000033f0| 20 6d 6f 75 73 65 55 70 | 0d 67 6f 20 6e 65 78 74 | mouseUp|.go next|
|00003400| 20 63 64 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 00 | cd.end |mouseUp.|
|00003410| 00 4a 00 0a 01 00 01 36 | 00 75 01 4f 00 8e 20 00 |.J.....6|.u.O.. .|
|00003420| 00 00 03 ef 00 01 00 00 | 00 0c 00 00 00 10 00 00 |........|........|
|00003430| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 70 72 69 6e 74 |on mouse|Up.print|
|00003440| 20 66 69 65 6c 64 20 22 | 69 6e 66 6f 22 0d 65 6e | field "|info".en|
|00003450| 64 20 6d 6f 75 73 65 55 | 70 00 00 22 00 0d 02 85 |d mouseU|p.."....|
|00003460| 00 0e 00 d1 00 24 01 2c | 00 00 00 00 00 00 00 00 |.....$.,|........|
|00003470| 00 03 00 0c 00 00 00 10 | 00 00 00 00 00 22 00 0e |........|....."..|
|00003480| 02 0d 00 0e 01 3b 00 2a | 01 f0 00 00 00 00 00 00 |.....;.*|........|
|00003490| 00 00 00 03 00 09 00 00 | 00 0b 00 00 00 00 00 22 |........|......."|
|000034a0| 00 0f 02 84 00 ec 00 a0 | 01 47 01 c7 00 00 00 00 |........|.G......|
|000034b0| 00 00 00 00 00 03 00 0c | 00 00 00 10 00 00 00 00 |........|........|
|000034c0| 00 2c 00 10 02 94 00 07 | 00 f5 00 20 01 28 00 00 |.,......|... .(..|
|000034d0| 00 00 00 00 00 00 00 03 | 00 0c 00 00 00 10 63 75 |........|......cu|
|000034e0| 72 72 65 6e 74 49 6e 66 | 6f 00 00 00 00 0e 00 3a |rrentInf|o......:|
|000034f0| 00 a9 20 43 6f 70 79 72 | 69 67 68 74 20 31 39 39 |.. Copyr|ight 199|
|00003500| 36 20 2d 20 39 38 2c 20 | 44 65 6e 6e 69 73 20 42 |6 - 98, |Dennis B|
|00003510| 69 72 63 68 2e 0d 41 6c | 6c 20 72 69 67 68 74 73 |irch..Al|l rights|
|00003520| 20 72 65 73 65 72 76 65 | 64 2e 00 05 01 2a 00 49 | reserve|d....*.I|
|00003530| 6e 74 72 6f 64 75 63 74 | 69 6f 6e 0d 45 78 61 6d |ntroduct|ion.Exam|
|00003540| 70 6c 65 73 20 d1 20 4e | 6f 72 6d 61 6c 20 26 20 |ples . N|ormal & |
|00003550| 53 70 6c 61 73 68 20 54 | 79 70 65 73 0d 45 78 61 |Splash T|ypes.Exa|
|00003560| 6d 70 6c 65 73 20 d1 20 | 4c 69 73 74 20 26 20 50 |mples . |List & P|
|00003570| 6f 70 75 70 20 54 79 70 | 65 73 0d 49 6e 73 74 61 |opup Typ|es.Insta|
|00003580| 6c 6c 69 6e 67 20 53 68 | 6f 77 4d 6f 64 61 6c 20 |lling Sh|owModal |
|00003590| 58 46 43 4e 0d 43 72 65 | 61 74 69 6e 67 20 44 69 |XFCN.Cre|ating Di|
|000035a0| 61 6c 6f 67 20 52 65 73 | 6f 75 72 63 65 73 0d 53 |alog Res|ources.S|
|000035b0| 68 6f 77 4d 6f 64 61 6c | 20 58 46 43 4e 20 50 61 |howModal| XFCN Pa|
|000035c0| 72 61 6d 65 74 65 72 73 | 0d 53 68 6f 77 4d 6f 64 |rameters|.ShowMod|
|000035d0| 61 6c 27 73 20 52 65 74 | 75 72 6e 20 56 61 6c 75 |al's Ret|urn Valu|
|000035e0| 65 73 0d 43 72 65 61 74 | 69 6e 67 20 22 4e 6f 72 |es.Creat|ing "Nor|
|000035f0| 6d 61 6c 22 20 44 69 61 | 6c 6f 67 73 0d 43 72 65 |mal" Dia|logs.Cre|
|00003600| 61 74 69 6e 67 20 4c 69 | 73 74 20 44 69 61 6c 6f |ating Li|st Dialo|
|00003610| 67 73 0d 43 72 65 61 74 | 69 6e 67 20 50 6f 70 75 |gs.Creat|ing Popu|
|00003620| 70 20 44 69 61 6c 6f 67 | 73 0d 43 72 65 61 74 69 |p Dialog|s.Creati|
|00003630| 6e 67 20 53 70 6c 61 73 | 68 20 44 69 61 6c 6f 67 |ng Splas|h Dialog|
|00003640| 73 0d 52 65 67 69 73 74 | 72 61 74 69 6f 6e 0d 54 |s.Regist|ration.T|
|00003650| 68 61 6e 6b 20 79 6f 75 | 00 6f 6e 20 61 72 72 6f |hank you|.on arro|
|00003660| 77 4b 65 79 20 78 0d 69 | 66 20 6e 6f 74 20 74 68 |wKey x.i|f not th|
|00003670| 65 20 6c 6f 63 6b 54 65 | 78 74 20 6f 66 20 66 6c |e lockTe|xt of fl|
|00003680| 64 20 22 69 6e 66 6f 22 | 20 74 68 65 6e 20 70 61 |d "info"| then pa|
|00003690| 73 73 20 61 72 72 6f 77 | 4b 65 79 0d 67 65 74 20 |ss arrow|Key.get |
|000036a0| 74 68 65 20 73 63 72 6f | 6c 6c 20 6f 66 20 66 6c |the scro|ll of fl|
|000036b0| 64 20 22 69 6e 66 6f 22 | 0d 70 75 74 20 74 68 65 |d "info"|.put the|
|000036c0| 20 74 65 78 74 48 65 69 | 67 68 74 20 6f 66 20 66 | textHei|ght of f|
|000036d0| 6c 64 20 22 69 6e 66 6f | 22 20 69 6e 74 6f 20 6c |ld "info|" into l|
|000036e0| 69 6e 65 48 0d 69 66 20 | 78 20 3d 20 22 64 6f 77 |ineH.if |x = "dow|
|000036f0| 6e 22 20 74 68 65 6e 20 | 73 65 74 20 74 68 65 20 |n" then |set the |
|00003700| 73 63 72 6f 6c 6c 20 6f | 66 20 66 6c 64 20 22 69 |scroll o|f fld "i|
|00003710| 6e 66 6f 22 20 74 6f 20 | 69 74 20 2b 20 6c 69 6e |nfo" to |it + lin|
|00003720| 65 48 0d 65 6c 73 65 20 | 69 66 20 78 20 3d 20 22 |eH.else |if x = "|
|00003730| 75 70 22 20 74 68 65 6e | 20 73 65 74 20 74 68 65 |up" then| set the|
|00003740| 20 73 63 72 6f 6c 6c 20 | 6f 66 20 66 6c 64 20 22 | scroll |of fld "|
|00003750| 69 6e 66 6f 22 20 74 6f | 20 69 74 20 2d 20 6c 69 |info" to| it - li|
|00003760| 6e 65 48 0d 65 6c 73 65 | 20 70 61 73 73 20 61 72 |neH.else| pass ar|
|00003770| 72 6f 77 4b 65 79 0d 65 | 6e 64 20 61 72 72 6f 77 |rowKey.e|nd arrow|
|00003780| 4b 65 79 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |Key.....|........|
|00003790| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037a0| 00 00 00 40 42 4d 41 50 | 00 00 17 e9 00 00 00 00 |...@BMAP|........|
|000037b0| 00 00 00 00 00 01 00 00 | 00 00 00 00 01 56 02 00 |........|.....V..|
|000037c0| 00 00 00 00 01 56 02 00 | 00 00 00 00 00 00 00 00 |.....V..|........|
|000037d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000037e0| 00 00 bd 80 42 4b 47 44 | 00 00 0f c5 00 00 00 00 |....BKGD|........|
|000037f0| 00 00 0b 7f 00 00 00 00 | 00 00 00 02 00 00 0a 7b |........|.......{|
|00003800| 00 00 0a 7b 00 36 00 46 | 00 00 97 60 00 05 00 00 |...{.6.F|...`....|
|00003810| 12 8a 00 40 00 01 01 00 | 01 3c 00 18 01 4f 00 2e |...@....|.<...O..|
|00003820| 20 00 00 00 08 85 00 01 | 00 00 00 0c 00 00 00 10 | .......|........|
|00003830| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 67 6f 20 |..on mou|seUp.go |
|00003840| 68 6f 6d 65 0d 65 6e 64 | 20 6d 6f 75 73 65 55 70 |home.end| mouseUp|
|00003850| 00 00 00 42 00 02 01 00 | 01 3c 00 33 01 4f 00 50 |...B....|.<.3.O.P|
|00003860| 20 00 00 00 19 3c 00 01 | 00 00 00 0c 00 00 00 10 | ....<..|........|
|00003870| 00 00 6f 6e 20 6d 6f 75 | 73 65 55 70 0d 67 6f 20 |..on mou|seUp.go |
|00003880| 70 72 65 76 20 63 64 0d | 65 6e 64 20 6d 6f 75 73 |prev cd.|end mous|
|00003890| 65 55 70 00 00 42 00 03 | 01 00 01 3c 00 54 01 4f |eUp..B..|...<.T.O|
|000038a0| 00 71 20 00 00 00 18 23 | 00 01 00 00 00 0c 00 00 |.q ....#|........|
|000038b0| 00 10 00 00 6f 6e 20 6d | 6f 75 73 65 55 70 0d 67 |....on m|ouseUp.g|
|000038c0| 6f 20 6e 65 78 74 20 63 | 64 0d 65 6e 64 20 6d 6f |o next c|d.end mo|
|000038d0| 75 73 65 55 70 00 00 64 | 00 05 01 00 00 11 00 17 |useUp..d|........|
|000038e0| 00 24 01 0e 90 0b 00 00 | 00 03 00 00 00 15 00 0c |.$......|........|
|000038f0| 01 00 00 10 45 78 61 6d | 70 6c 65 73 00 00 6f 6e |....Exam|ples..on|
|00003900| 20 6d 6f 75 73 65 55 70 | 0d 67 65 74 20 74 68 65 | mouseUp|.get the|
|00003910| 20 73 65 6c 65 63 74 65 | 64 54 65 78 74 20 6f 66 | selecte|dText of|
|00003920| 20 6d 65 0d 67 6f 20 63 | 64 20 69 74 0d 65 6e 64 | me.go c|d it.end|
|00003930| 20 6d 6f 75 73 65 55 70 | 00 00 00 22 00 06 02 95 | mouseUp|..."....|
|00003940| 00 10 00 f0 01 01 01 55 | 00 00 00 00 00 00 00 00 |.......U|........|
|00003950| 00 03 00 0c 00 00 00 10 | 00 00 00 00 09 ca 00 08 |........|........|
|00003960| 01 00 00 52 00 50 00 6c | 00 94 a0 08 00 00 00 00 |...R.P.l|........|
|00003970| 00 01 00 00 00 0c 00 00 | 00 10 44 65 6d 6f 00 00 |........|..Demo..|
|00003980| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 70 75 74 20 68 |on mouse|Up.put h|
|00003990| 69 6c 69 74 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |ilite of| bg btn |
|000039a0| 69 64 20 34 34 20 69 6e | 74 6f 20 69 73 4d 6f 76 |id 44 in|to isMov|
|000039b0| 61 62 6c 65 0d 69 66 20 | 6f 66 66 73 65 74 28 22 |able.if |offset("|
|000039c0| 6e 6f 72 6d 61 6c 22 2c | 73 68 6f 72 74 20 6e 61 |normal",|short na|
|000039d0| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 64 29 20 3e |me of th|is cd) >|
|000039e0| 20 30 20 74 68 65 6e 20 | 73 68 6f 77 53 70 6c 61 | 0 then |showSpla|
|000039f0| 73 68 20 69 73 4d 6f 76 | 61 62 6c 65 0d 65 6c 73 |sh isMov|able.els|
|00003a00| 65 20 73 68 6f 77 50 6f | 70 20 69 73 4d 6f 76 61 |e showPo|p isMova|
|00003a10| 62 6c 65 0d 65 6e 64 20 | 6d 6f 75 73 65 55 70 0d |ble.end |mouseUp.|
|00003a20| 0d 0d b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003a30| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003a40| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003a50| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003a60| b0 b0 b0 b0 b0 b0 b0 b0 | b0 0d 2d 2d 20 74 68 69 |........|..-- thi|
|00003a70| 73 20 69 73 20 74 68 65 | 20 68 61 6e 64 6c 65 72 |s is the| handler|
|00003a80| 20 74 68 61 74 20 72 75 | 6e 73 20 74 68 65 20 73 | that ru|ns the s|
|00003a90| 70 6c 61 73 68 20 64 69 | 61 6c 6f 67 0d b0 b0 b0 |plash di|alog....|
|00003aa0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003ab0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003ac0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003ad0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003ae0| b0 b0 b0 b0 0d 6f 6e 20 | 73 68 6f 77 53 70 6c 61 |.....on |showSpla|
|00003af0| 73 68 20 69 73 4d 6f 76 | 61 62 6c 65 0d 67 6c 6f |sh isMov|able.glo|
|00003b00| 62 61 6c 20 78 45 72 72 | 6f 72 0d 0d 2d 2d 20 73 |bal xErr|or..-- s|
|00003b10| 65 74 20 75 70 20 74 68 | 65 20 64 69 61 6c 6f 67 |et up th|e dialog|
|00003b20| 20 70 61 72 61 6d 65 74 | 65 72 73 0d 70 75 74 20 | paramet|ers.put |
|00003b30| 31 32 38 35 20 69 6e 74 | 6f 20 64 49 44 0d 2d 2d |1285 int|o dID.--|
|00003b40| 20 64 65 70 65 6e 64 69 | 6e 67 20 6f 6e 20 77 68 | dependi|ng on wh|
|00003b50| 65 74 68 65 72 20 74 68 | 65 20 64 69 61 6c 6f 67 |ether th|e dialog|
|00003b60| 20 69 73 20 6d 6f 64 61 | 6c 20 6f 72 20 6d 6f 76 | is moda|l or mov|
|00003b70| 61 62 6c 65 0d 69 66 20 | 6e 6f 74 20 69 73 4d 6f |able.if |not isMo|
|00003b80| 76 61 62 6c 65 20 74 68 | 65 6e 20 61 64 64 20 31 |vable th|en add 1|
|00003b90| 20 74 6f 20 64 49 44 0d | 0d 2d 2d 20 74 68 65 6e | to dID.|.-- then|
|00003ba0| 20 73 68 6f 77 20 74 68 | 65 20 64 69 61 6c 6f 67 | show th|e dialog|
|00003bb0| 0d 67 65 74 20 73 68 6f | 77 4d 6f 64 61 6c 28 50 |.get sho|wModal(P|
|00003bc0| 2c 20 64 49 44 2c 20 31 | 30 29 0d 69 66 20 74 68 |, dID, 1|0).if th|
|00003bd0| 65 20 68 69 6c 69 74 65 | 20 6f 66 20 62 67 20 62 |e hilite| of bg b|
|00003be0| 74 6e 20 69 64 20 37 30 | 20 61 6e 64 20 69 74 20 |tn id 70| and it |
|00003bf0| ad 20 22 22 20 74 68 65 | 6e 20 72 65 73 75 6c 74 |. "" the|n result|
|00003c00| 73 41 6c 65 72 74 20 69 | 74 0d 65 6c 73 65 20 73 |sAlert i|t.else s|
|00003c10| 6d 41 6c 65 72 74 20 22 | 53 70 6c 61 73 68 20 73 |mAlert "|Splash s|
|00003c20| 63 72 65 65 6e 73 20 72 | 65 74 75 72 6e 20 6e 6f |creens r|eturn no|
|00003c30| 20 72 65 73 75 6c 74 73 | 22 0d 0d 2d 2d 20 69 66 | results|"..-- if|
|00003c40| 20 74 68 65 72 65 27 73 | 20 61 6e 20 65 72 72 6f | there's| an erro|
|00003c50| 72 2c 20 72 65 70 6f 72 | 74 20 69 74 0d 69 66 20 |r, repor|t it.if |
|00003c60| 78 45 72 72 6f 72 20 74 | 68 65 6e 20 6d 65 6d 41 |xError t|hen memA|
|00003c70| 6c 65 72 74 20 2d 2d 20 | 63 68 65 63 6b 20 66 6f |lert -- |check fo|
|00003c80| 72 20 61 6e 20 65 72 72 | 6f 72 0d 0d 2d 2d 20 64 |r an err|or..-- d|
|00003c90| 6f 6e 27 74 20 6e 65 65 | 64 20 74 6f 20 64 6f 20 |on't nee|d to do |
|00003ca0| 61 6e 79 74 68 69 6e 67 | 20 65 6c 73 65 20 77 69 |anything| else wi|
|00003cb0| 74 68 20 74 68 65 20 72 | 65 73 75 6c 74 73 0d 0d |th the r|esults..|
|00003cc0| 65 6e 64 20 73 68 6f 77 | 53 70 6c 61 73 68 0d 0d |end show|Splash..|
|00003cd0| 0d 0d b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003ce0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003cf0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003d00| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003d10| b0 b0 b0 b0 b0 b0 b0 b0 | b0 0d 2d 2d 20 74 68 69 |........|..-- thi|
|00003d20| 73 20 69 73 20 74 68 65 | 20 68 61 6e 64 6c 65 72 |s is the| handler|
|00003d30| 20 74 68 61 74 20 72 75 | 6e 73 20 74 68 65 20 22 | that ru|ns the "|
|00003d40| 53 69 6d 70 6c 65 22 20 | 70 6f 70 75 70 20 6d 65 |Simple" |popup me|
|00003d50| 6e 75 20 64 69 61 6c 6f | 67 0d b0 b0 b0 b0 b0 b0 |nu dialo|g.......|
|00003d60| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003d70| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003d80| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003d90| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00003da0| b0 0d 6f 6e 20 73 68 6f | 77 50 6f 70 20 69 73 4d |..on sho|wPop isM|
|00003db0| 6f 76 61 62 6c 65 0d 67 | 6c 6f 62 61 6c 20 78 45 |ovable.g|lobal xE|
|00003dc0| 72 72 6f 72 2c 6c 61 73 | 74 6c 69 6e 65 31 0d 0d |rror,las|tline1..|
|00003dd0| 2d 2d 20 73 65 74 20 75 | 70 20 74 68 65 20 64 69 |-- set u|p the di|
|00003de0| 61 6c 6f 67 20 70 61 72 | 61 6d 65 74 65 72 73 0d |alog par|ameters.|
|00003df0| 70 75 74 20 22 53 65 6c | 65 63 74 20 61 20 77 65 |put "Sel|ect a we|
|00003e00| 62 20 73 69 74 65 22 20 | 69 6e 74 6f 20 70 72 6f |b site" |into pro|
|00003e10| 6d 70 74 0d 70 75 74 20 | 31 33 30 30 20 69 6e 74 |mpt.put |1300 int|
|00003e20| 6f 20 64 49 44 0d 70 75 | 74 20 66 6c 64 20 69 64 |o dID.pu|t fld id|
|00003e30| 20 35 39 20 69 6e 74 6f | 20 74 68 65 4d 65 6e 75 | 59 into| theMenu|
|00003e40| 0d 2d 2d 20 64 65 70 65 | 6e 64 69 6e 67 20 6f 6e |.-- depe|nding on|
|00003e50| 20 77 68 65 74 68 65 72 | 20 69 74 20 69 73 20 6d | whether| it is m|
|00003e60| 6f 76 61 62 6c 65 0d 69 | 66 20 69 73 4d 6f 76 61 |ovable.i|f isMova|
|00003e70| 62 6c 65 20 74 68 65 6e | 0d 69 66 20 6c 69 6e 65 |ble then|.if line|
|00003e80| 20 31 20 6f 66 20 66 6c | 64 20 69 64 20 33 33 20 | 1 of fl|d id 33 |
|00003e90| 3d 20 22 22 20 74 68 65 | 6e 20 70 75 74 20 22 43 |= "" the|n put "C|
|00003ea0| 22 20 69 6e 74 6f 20 6d | 79 4c 6f 63 0d 65 6c 73 |" into m|yLoc.els|
|00003eb0| 65 20 70 75 74 20 67 65 | 74 4c 6f 63 28 6c 69 6e |e put ge|tLoc(lin|
|00003ec0| 65 20 31 20 6f 66 20 66 | 6c 64 20 69 64 20 33 33 |e 1 of f|ld id 33|
|00003ed0| 29 20 69 6e 74 6f 20 6d | 79 4c 6f 63 0d 65 6c 73 |) into m|yLoc.els|
|00003ee0| 65 0d 2d 2d 20 6f 72 20 | 6d 6f 64 61 6c 0d 70 75 |e.-- or |modal.pu|
|00003ef0| 74 20 22 53 22 20 69 6e | 74 6f 20 6d 79 4c 6f 63 |t "S" in|to myLoc|
|00003f00| 0d 61 64 64 20 31 20 74 | 6f 20 64 49 44 0d 65 6e |.add 1 t|o dID.en|
|00003f10| 64 20 69 66 0d 0d 2d 2d | 20 6e 6f 77 20 73 68 6f |d if..--| now sho|
|00003f20| 77 20 74 68 65 20 64 69 | 61 6c 6f 67 0d 67 65 74 |w the di|alog.get|
|00003f30| 20 73 68 6f 77 4d 6f 64 | 61 6c 28 50 2c 64 49 44 | showMod|al(P,dID|
|00003f40| 2c 70 72 6f 6d 70 74 2c | 22 22 2c 20 74 68 65 4d |,prompt,|"", theM|
|00003f50| 65 6e 75 2c 22 22 2c 22 | 22 2c 22 22 2c 6d 79 4c |enu,"","|","",myL|
|00003f60| 6f 63 2c 22 22 2c 22 22 | 2c 6c 61 73 74 6c 69 6e |oc,"",""|,lastlin|
|00003f70| 65 31 29 0d 70 75 74 20 | 69 74 20 69 6e 74 6f 20 |e1).put |it into |
|00003f80| 74 68 65 52 65 73 75 6c | 74 0d 0d 2d 2d 20 69 66 |theResul|t..-- if|
|00003f90| 20 6d 6f 76 61 62 6c 65 | 2c 20 73 61 76 65 20 74 | movable|, save t|
|00003fa0| 68 65 20 6f 66 66 73 65 | 74 20 66 72 6f 6d 20 74 |he offse|t from t|
|00003fb0| 68 65 20 63 61 72 64 20 | 77 69 6e 64 6f 77 20 66 |he card |window f|
|00003fc0| 6f 72 20 6c 61 74 65 72 | 20 75 73 65 0d 69 66 20 |or later| use.if |
|00003fd0| 69 73 4d 6f 76 61 62 6c | 65 20 74 68 65 6e 20 70 |isMovabl|e then p|
|00003fe0| 75 74 20 73 65 74 4c 6f | 63 28 6c 61 73 74 20 6c |ut setLo|c(last l|
|00003ff0| 69 6e 65 20 6f 66 20 69 | 74 29 20 69 6e 74 6f 20 |ine of i|t) into |
|00004000| 6c 69 6e 65 20 31 20 6f | 66 20 66 6c 64 20 69 64 |line 1 o|f fld id|
|00004010| 20 33 33 0d 0d 2d 2d 20 | 69 66 20 74 68 65 20 75 | 33..-- |if the u|
|00004020| 73 65 72 20 63 6c 69 63 | 6b 65 64 20 43 61 6e 63 |ser clic|ked Canc|
|00004030| 65 6c 2c 20 62 61 69 6c | 20 6f 75 74 0d 69 66 20 |el, bail| out.if |
|00004040| 6c 69 6e 65 20 31 20 6f | 66 20 69 74 20 3d 20 32 |line 1 o|f it = 2|
|00004050| 20 74 68 65 6e 0d 63 61 | 6e 63 65 6c 41 6c 65 72 | then.ca|ncelAler|
|00004060| 74 20 74 68 65 52 65 73 | 75 6c 74 20 2d 2d 20 68 |t theRes|ult -- h|
|00004070| 61 6e 64 6c 65 64 20 69 | 6e 20 73 74 61 63 6b 20 |andled i|n stack |
|00004080| 73 63 72 69 70 74 0d 65 | 78 69 74 20 74 6f 20 68 |script.e|xit to h|
|00004090| 79 70 65 72 63 61 72 64 | 0d 0d 2d 2d 20 6f 72 20 |ypercard|..-- or |
|000040a0| 69 66 20 74 68 65 72 65 | 20 77 61 73 20 61 6e 20 |if there| was an |
|000040b0| 65 72 72 6f 72 2c 20 72 | 65 70 6f 72 74 20 74 68 |error, r|eport th|
|000040c0| 61 74 0d 65 6c 73 65 20 | 69 66 20 78 45 72 72 6f |at.else |if xErro|
|000040d0| 72 20 74 68 65 6e 20 20 | 2d 2d 20 63 68 65 63 6b |r then |-- check|
|000040e0| 20 66 6f 72 20 61 6e 20 | 65 72 72 6f 72 0d 6d 65 | for an |error.me|
|000040f0| 6d 41 6c 65 72 74 0d 65 | 78 69 74 20 74 6f 20 68 |mAlert.e|xit to h|
|00004100| 79 70 65 72 63 61 72 64 | 0d 65 6e 64 20 69 66 0d |ypercard|.end if.|
|00004110| 0d 2d 2d 20 67 65 74 20 | 74 68 65 20 62 75 74 74 |.-- get |the butt|
|00004120| 6f 6e 20 68 69 74 0d 70 | 75 74 20 6c 69 6e 65 20 |on hit.p|ut line |
|00004130| 31 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 62 48 69 |1 of it |into bHi|
|00004140| 74 0d 2d 2d 20 20 61 6e | 64 20 74 68 65 20 6c 69 |t.-- an|d the li|
|00004150| 6e 65 20 6e 75 6d 62 65 | 72 20 73 65 6c 65 63 74 |ne numbe|r select|
|00004160| 65 64 0d 70 75 74 20 6c | 69 6e 65 20 32 20 6f 66 |ed.put l|ine 2 of|
|00004170| 20 69 74 20 69 6e 74 6f | 20 6c 61 73 74 4c 69 6e | it into| lastLin|
|00004180| 65 31 0d 0d 2d 2d 20 65 | 78 74 72 61 63 74 20 74 |e1..-- e|xtract t|
|00004190| 68 65 20 55 52 4c 20 66 | 72 6f 6d 20 74 68 65 20 |he URL f|rom the |
|000041a0| 6d 65 6e 75 20 6c 69 6e | 65 20 73 65 6c 65 63 74 |menu lin|e select|
|000041b0| 65 64 0d 70 75 74 20 69 | 74 65 6d 20 32 20 6f 66 |ed.put i|tem 2 of|
|000041c0| 20 6c 69 6e 65 20 28 6c | 61 73 74 4c 69 6e 65 31 | line (l|astLine1|
|000041d0| 29 20 6f 66 20 66 6c 64 | 20 69 64 20 36 20 69 6e |) of fld| id 6 in|
|000041e0| 74 6f 20 74 68 65 55 52 | 4c 0d 0d 2d 2d 20 61 6e |to theUR|L..-- an|
|000041f0| 64 20 72 65 70 6f 72 74 | 20 74 6f 20 74 68 65 20 |d report| to the |
|00004200| 75 73 65 72 20 2d 2d 20 | 73 6d 41 6c 65 72 74 20 |user -- |smAlert |
|00004210| 68 61 6e 64 6c 65 64 20 | 69 6e 20 73 74 61 63 6b |handled |in stack|
|00004220| 20 73 63 72 69 70 74 0d | 73 6d 41 6c 65 72 74 20 | script.|smAlert |
|00004230| 22 59 6f 75 20 73 65 6c | 65 63 74 65 64 20 6c 69 |"You sel|ected li|
|00004240| 6e 65 22 20 26 26 20 6c | 69 6e 65 20 32 20 6f 66 |ne" && l|ine 2 of|
|00004250| 20 69 74 20 26 26 20 22 | 61 6e 64 20 63 6c 69 63 | it && "|and clic|
|00004260| 6b 65 64 20 62 75 74 74 | 6f 6e 20 23 22 20 26 c2 |ked butt|on #" &.|
|00004270| 0d 62 48 69 74 20 26 26 | 20 22 28 22 20 26 20 70 |.bHit &&| "(" & p|
|00004280| 69 63 6b 42 74 6e 28 6c | 69 6e 65 20 31 20 6f 66 |ickBtn(l|ine 1 of|
|00004290| 20 69 74 29 20 26 20 22 | 29 2e 22 20 26 20 20 72 | it) & "|)." & r|
|000042a0| 65 74 75 72 6e 20 26 20 | c2 0d 22 54 68 65 20 55 |eturn & |.."The U|
|000042b0| 52 4c 20 66 6f 72 20 6c | 69 6e 65 22 20 26 26 20 |RL for l|ine" && |
|000042c0| 6c 69 6e 65 20 32 20 6f | 66 20 69 74 20 26 26 20 |line 2 o|f it && |
|000042d0| 22 69 73 3a 22 20 26 26 | 20 74 68 65 55 52 4c 0d |"is:" &&| theURL.|
|000042e0| 69 66 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |if the h|ilite of|
|000042f0| 20 62 67 20 62 74 6e 20 | 69 64 20 37 30 20 74 68 | bg btn |id 70 th|
|00004300| 65 6e 20 72 65 73 75 6c | 74 73 41 6c 65 72 74 20 |en resul|tsAlert |
|00004310| 74 68 65 52 65 73 75 6c | 74 0d 65 6e 64 20 73 68 |theResul|t.end sh|
|00004320| 6f 77 50 6f 70 00 0c 04 | 00 09 01 00 00 74 00 50 |owPop...|.....t.P|
|00004330| 00 8e 00 94 a0 08 00 00 | 00 00 00 01 00 00 00 0c |........|........|
|00004340| 00 00 00 10 44 65 6d 6f | 00 00 6f 6e 20 6d 6f 75 |....Demo|..on mou|
|00004350| 73 65 55 70 0d 70 75 74 | 20 68 69 6c 69 74 65 20 |seUp.put| hilite |
|00004360| 6f 66 20 62 67 20 62 74 | 6e 20 69 64 20 34 34 20 |of bg bt|n id 44 |
|00004370| 69 6e 74 6f 20 69 73 4d | 6f 76 61 62 6c 65 0d 69 |into isM|ovable.i|
|00004380| 66 20 6f 66 66 73 65 74 | 28 22 6e 6f 72 6d 61 6c |f offset|("normal|
|00004390| 22 2c 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |",short |name of |
|000043a0| 74 68 69 73 20 63 64 29 | 20 3e 20 30 20 74 68 65 |this cd)| > 0 the|
|000043b0| 6e 20 73 68 6f 77 41 6c | 65 72 74 20 69 73 4d 6f |n showAl|ert isMo|
|000043c0| 76 61 62 6c 65 0d 65 6c | 73 65 20 73 68 6f 77 50 |vable.el|se showP|
|000043d0| 6f 70 20 69 73 4d 6f 76 | 61 62 6c 65 0d 65 6e 64 |op isMov|able.end|
|000043e0| 20 6d 6f 75 73 65 55 70 | 0d 0d 0d b0 b0 b0 b0 b0 | mouseUp|........|
|000043f0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004400| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004410| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004420| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004430| b0 b0 0d 2d 2d 20 74 68 | 69 73 20 69 73 20 74 68 |...-- th|is is th|
|00004440| 65 20 68 61 6e 64 6c 65 | 72 20 74 68 61 74 20 72 |e handle|r that r|
|00004450| 75 6e 73 20 74 68 65 20 | 41 6c 65 72 74 20 64 69 |uns the |Alert di|
|00004460| 61 6c 6f 67 0d b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |alog....|........|
|00004470| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004480| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004490| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000044a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 0d 6f 6e 20 |........|.....on |
|000044b0| 73 68 6f 77 41 6c 65 72 | 74 20 69 73 4d 6f 76 61 |showAler|t isMova|
|000044c0| 62 6c 65 0d 67 6c 6f 62 | 61 6c 20 78 45 72 72 6f |ble.glob|al xErro|
|000044d0| 72 0d 0d 2d 2d 20 73 65 | 74 20 75 70 20 74 68 65 |r..-- se|t up the|
|000044e0| 20 64 69 61 6c 6f 67 20 | 70 61 72 61 6d 65 74 65 | dialog |paramete|
|000044f0| 72 73 0d 70 75 74 20 22 | 54 68 69 73 20 69 73 20 |rs.put "|This is |
|00004500| 61 6e 20 61 6c 65 72 74 | 20 64 69 61 6c 6f 67 2e |an alert| dialog.|
|00004510| 20 49 74 20 73 68 6f 75 | 6c 64 20 68 61 76 65 20 | It shou|ld have |
|00004520| 61 20 6d 6f 72 65 20 69 | 6e 74 65 72 65 73 74 69 |a more i|nteresti|
|00004530| 6e 67 20 6d 65 73 73 61 | 67 65 21 22 20 69 6e 74 |ng messa|ge!" int|
|00004540| 6f 20 73 74 72 0d 70 75 | 74 20 31 34 30 30 20 69 |o str.pu|t 1400 i|
|00004550| 6e 74 6f 20 64 49 44 0d | 2d 2d 20 64 65 70 65 6e |nto dID.|-- depen|
|00004560| 64 69 6e 67 20 6f 6e 20 | 77 68 65 74 68 65 72 20 |ding on |whether |
|00004570| 74 68 65 20 64 69 61 6c | 6f 67 20 69 73 20 6d 6f |the dial|og is mo|
|00004580| 76 61 62 6c 65 2e 2e 2e | 0d 69 66 20 69 73 4d 6f |vable...|.if isMo|
|00004590| 76 61 62 6c 65 20 74 68 | 65 6e 0d 69 66 20 6c 69 |vable th|en.if li|
|000045a0| 6e 65 20 32 20 6f 66 20 | 66 6c 64 20 69 64 20 33 |ne 2 of |fld id 3|
|000045b0| 33 20 3d 20 22 22 20 74 | 68 65 6e 20 70 75 74 20 |3 = "" t|hen put |
|000045c0| 22 43 22 20 69 6e 74 6f | 20 6d 79 4c 6f 63 0d 65 |"C" into| myLoc.e|
|000045d0| 6c 73 65 20 70 75 74 20 | 67 65 74 4c 6f 63 28 6c |lse put |getLoc(l|
|000045e0| 69 6e 65 20 32 20 6f 66 | 20 66 6c 64 20 69 64 20 |ine 2 of| fld id |
|000045f0| 33 33 29 20 69 6e 74 6f | 20 6d 79 4c 6f 63 0d 0d |33) into| myLoc..|
|00004600| 2d 2d 20 6f 72 20 6d 6f | 64 61 6c 0d 65 6c 73 65 |-- or mo|dal.else|
|00004610| 0d 70 75 74 20 22 43 22 | 20 69 6e 74 6f 20 6d 79 |.put "C"| into my|
|00004620| 4c 6f 63 0d 61 64 64 20 | 31 20 74 6f 20 64 49 44 |Loc.add |1 to dID|
|00004630| 0d 65 6e 64 20 69 66 0d | 0d 2d 2d 20 74 68 69 73 |.end if.|.-- this|
|00004640| 20 69 6e 20 61 6c 65 72 | 74 2c 20 73 6f 20 66 69 | in aler|t, so fi|
|00004650| 72 73 74 20 62 65 65 70 | 2e 2e 2e 0d 62 65 65 70 |rst beep|....beep|
|00004660| 0d 2d 2d 20 74 68 65 6e | 20 73 68 6f 77 20 74 68 |.-- then| show th|
|00004670| 65 20 64 69 61 6c 6f 67 | 0d 67 65 74 20 73 68 6f |e dialog|.get sho|
|00004680| 77 4d 6f 64 61 6c 28 4e | 2c 20 64 49 44 2c 20 73 |wModal(N|, dID, s|
|00004690| 74 72 2c 20 22 22 2c 20 | 22 22 2c 20 22 22 2c 20 |tr, "", |"", "", |
|000046a0| 22 22 2c 20 22 22 2c 20 | 6d 79 4c 6f 63 29 0d 70 |"", "", |myLoc).p|
|000046b0| 75 74 20 69 74 20 69 6e | 74 6f 20 74 68 65 52 65 |ut it in|to theRe|
|000046c0| 73 75 6c 74 0d 0d 2d 2d | 20 69 66 20 6d 6f 76 61 |sult..--| if mova|
|000046d0| 62 6c 65 2c 20 73 61 76 | 65 20 74 68 65 20 64 69 |ble, sav|e the di|
|000046e0| 61 6c 6f 67 27 73 20 6f | 66 66 73 65 74 20 66 72 |alog's o|ffset fr|
|000046f0| 6f 6d 20 74 68 65 20 63 | 61 72 64 20 77 69 6e 64 |om the c|ard wind|
|00004700| 6f 77 20 6c 6f 63 20 66 | 6f 72 20 6c 61 74 65 72 |ow loc f|or later|
|00004710| 20 75 73 65 0d 69 66 20 | 69 73 4d 6f 76 61 62 6c | use.if |isMovabl|
|00004720| 65 20 74 68 65 6e 20 70 | 75 74 20 73 65 74 4c 6f |e then p|ut setLo|
|00004730| 63 28 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 69 |c(last l|ine of i|
|00004740| 74 29 20 69 6e 74 6f 20 | 6c 69 6e 65 20 32 20 6f |t) into |line 2 o|
|00004750| 66 20 66 6c 64 20 69 64 | 20 33 33 0d 0d 2d 2d 20 |f fld id| 33..-- |
|00004760| 69 66 20 74 68 65 72 65 | 20 77 61 73 20 61 6e 20 |if there| was an |
|00004770| 65 72 72 6f 72 2c 20 72 | 65 70 6f 72 74 20 69 74 |error, r|eport it|
|00004780| 0d 69 66 20 78 45 72 72 | 6f 72 20 74 68 65 6e 20 |.if xErr|or then |
|00004790| 6d 65 6d 41 6c 65 72 74 | 20 2d 2d 20 63 68 65 63 |memAlert| -- chec|
|000047a0| 6b 20 66 6f 72 20 61 6e | 20 65 72 72 6f 72 0d 2d |k for an| error.-|
|000047b0| 2d 20 64 6f 6e 27 74 20 | 6e 65 65 64 20 74 6f 20 |- don't |need to |
|000047c0| 74 6f 20 64 6f 20 61 6e | 79 74 68 69 6e 67 20 65 |to do an|ything e|
|000047d0| 6c 73 65 20 77 69 74 68 | 20 74 68 65 20 72 65 73 |lse with| the res|
|000047e0| 75 6c 74 73 0d 0d 69 66 | 20 74 68 65 20 68 69 6c |ults..if| the hil|
|000047f0| 69 74 65 20 6f 66 20 62 | 67 20 62 74 6e 20 69 64 |ite of b|g btn id|
|00004800| 20 37 30 20 74 68 65 6e | 20 72 65 73 75 6c 74 73 | 70 then| results|
|00004810| 41 6c 65 72 74 20 74 68 | 65 52 65 73 75 6c 74 0d |Alert th|eResult.|
|00004820| 65 6e 64 20 73 68 6f 77 | 41 6c 65 72 74 0d 0d 0d |end show|Alert...|
|00004830| 0d b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004840| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004850| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004860| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00004870| b0 b0 b0 b0 b0 b0 b0 b0 | 0d 2d 2d 20 74 68 69 73 |........|.-- this|
|00004880| 20 69 73 20 74 68 65 20 | 68 61 6e 64 6c 65 72 20 | is the |handler |
|00004890| 74 68 61 74 20 72 75 6e | 73 20 74 68 65 20 50 6f |that run|s the Po|
|000048a0| 70 75 70 20 44 69 61 6c | 6f 67 20 77 2f 45 78 74 |pup Dial|og w/Ext|
|000048b0| 72 61 73 0d b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |ras.....|........|
|000048c0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000048d0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000048e0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000048f0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 0d 6f 6e 20 73 |........|....on s|
|00004900| 68 6f 77 50 6f 70 20 69 | 73 4d 6f 76 61 62 6c 65 |howPop i|sMovable|
|00004910| 0d 67 6c 6f 62 61 6c 20 | 78 45 72 72 6f 72 2c 6c |.global |xError,l|
|00004920| 61 73 74 52 61 64 69 6f | 31 0d 0d 2d 2d 20 73 65 |astRadio|1..-- se|
|00004930| 74 20 75 70 20 64 69 61 | 6c 6f 67 20 70 61 72 61 |t up dia|log para|
|00004940| 6d 65 74 65 72 73 0d 70 | 75 74 20 22 53 65 6c 65 |meters.p|ut "Sele|
|00004950| 63 74 20 61 20 77 65 62 | 20 73 69 74 65 20 6f 72 |ct a web| site or|
|00004960| 20 65 6e 74 65 72 20 61 | 20 55 52 4c 22 20 69 6e | enter a| URL" in|
|00004970| 74 6f 20 70 72 6f 6d 70 | 74 0d 70 75 74 20 22 56 |to promp|t.put "V|
|00004980| 69 65 77 20 68 6f 6d 65 | 20 70 61 67 65 20 77 69 |iew home| page wi|
|00004990| 74 68 3a 22 20 69 6e 74 | 6f 20 70 72 6f 6d 70 74 |th:" int|o prompt|
|000049a0| 32 0d 70 75 74 20 31 33 | 35 30 20 69 6e 74 6f 20 |2.put 13|50 into |
|000049b0| 64 49 44 0d 70 75 74 20 | 22 57 65 62 20 73 69 74 |dID.put |"Web sit|
|000049c0| 65 20 6c 69 73 74 22 20 | 26 20 72 65 74 75 72 6e |e list" |& return|
|000049d0| 20 26 20 22 2d 22 20 26 | 20 72 65 74 75 72 6e 20 | & "-" &| return |
|000049e0| 26 20 66 6c 64 20 69 64 | 20 35 39 20 69 6e 74 6f |& fld id| 59 into|
|000049f0| 20 74 68 65 4d 65 6e 75 | 0d 0d 2d 2d 20 64 65 70 | theMenu|..-- dep|
|00004a00| 65 6e 64 69 6e 67 20 6f | 6e 20 77 68 65 74 68 65 |ending o|n whethe|
|00004a10| 72 20 74 68 65 20 64 69 | 61 6c 6f 67 20 69 73 20 |r the di|alog is |
|00004a20| 6d 6f 76 61 62 6c 65 2e | 2e 2e 0d 69 66 20 69 73 |movable.|...if is|
|00004a30| 4d 6f 76 61 62 6c 65 20 | 74 68 65 6e 0d 69 66 20 |Movable |then.if |
|00004a40| 6c 69 6e 65 20 32 20 6f | 66 20 66 6c 64 20 69 64 |line 2 o|f fld id|
|00004a50| 20 33 33 20 3d 20 22 22 | 20 74 68 65 6e 20 70 75 | 33 = ""| then pu|
|00004a60| 74 20 22 43 22 20 69 6e | 74 6f 20 6d 79 4c 6f 63 |t "C" in|to myLoc|
|00004a70| 0d 65 6c 73 65 20 70 75 | 74 20 67 65 74 4c 6f 63 |.else pu|t getLoc|
|00004a80| 28 6c 69 6e 65 20 32 20 | 6f 66 20 66 6c 64 20 69 |(line 2 |of fld i|
|00004a90| 64 20 33 33 29 20 69 6e | 74 6f 20 6d 79 4c 6f 63 |d 33) in|to myLoc|
|00004aa0| 0d 0d 2d 2d 20 6f 72 20 | 6d 6f 64 61 6c 0d 65 6c |..-- or |modal.el|
|00004ab0| 73 65 0d 70 75 74 20 22 | 53 22 20 69 6e 74 6f 20 |se.put "|S" into |
|00004ac0| 6d 79 4c 6f 63 0d 61 64 | 64 20 31 20 74 6f 20 64 |myLoc.ad|d 1 to d|
|00004ad0| 49 44 0d 65 6e 64 20 69 | 66 0d 0d 2d 2d 20 6e 6f |ID.end i|f..-- no|
|00004ae0| 77 20 73 68 6f 77 20 74 | 68 65 20 64 69 61 6c 6f |w show t|he dialo|
|00004af0| 67 0d 67 65 74 20 73 68 | 6f 77 4d 6f 64 61 6c 28 |g.get sh|owModal(|
|00004b00| 50 2c 64 49 44 2c 70 72 | 6f 6d 70 74 2c 70 72 6f |P,dID,pr|ompt,pro|
|00004b10| 6d 70 74 32 2c 74 68 65 | 4d 65 6e 75 2c 22 22 2c |mpt2,the|Menu,"",|
|00004b20| 6c 61 73 74 52 61 64 69 | 6f 31 2c 22 22 2c 6d 79 |lastRadi|o1,"",my|
|00004b30| 4c 6f 63 2c 22 22 2c 74 | 72 75 65 2c 31 29 0d 70 |Loc,"",t|rue,1).p|
|00004b40| 75 74 20 69 74 20 69 6e | 74 6f 20 74 68 65 52 65 |ut it in|to theRe|
|00004b50| 73 75 6c 74 0d 0d 2d 2d | 20 69 66 20 6d 6f 76 61 |sult..--| if mova|
|00004b60| 62 6c 65 2c 20 73 61 76 | 65 20 74 68 65 20 64 69 |ble, sav|e the di|
|00004b70| 61 6c 6f 67 27 73 20 6f | 66 66 73 65 74 20 66 72 |alog's o|ffset fr|
|00004b80| 6f 6d 20 74 68 65 20 63 | 61 72 64 20 77 69 6e 64 |om the c|ard wind|
|00004b90| 6f 77 20 6c 6f 63 20 66 | 6f 72 20 6c 61 74 65 72 |ow loc f|or later|
|00004ba0| 20 75 73 65 0d 69 66 20 | 69 73 4d 6f 76 61 62 6c | use.if |isMovabl|
|00004bb0| 65 20 74 68 65 6e 20 70 | 75 74 20 73 65 74 4c 6f |e then p|ut setLo|
|00004bc0| 63 28 6c 61 73 74 20 6c | 69 6e 65 20 6f 66 20 69 |c(last l|ine of i|
|00004bd0| 74 29 20 69 6e 74 6f 20 | 6c 69 6e 65 20 32 20 6f |t) into |line 2 o|
|00004be0| 66 20 66 6c 64 20 69 64 | 20 33 33 0d 0d 2d 2d 20 |f fld id| 33..-- |
|00004bf0| 69 66 20 74 68 65 20 75 | 73 65 72 20 63 6c 69 63 |if the u|ser clic|
|00004c00| 6b 65 64 20 43 61 6e 63 | 65 6c 2c 20 62 61 69 6c |ked Canc|el, bail|
|00004c10| 20 6f 75 74 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f | out.if |line 1 o|
|00004c20| 66 20 69 74 20 3d 20 32 | 20 74 68 65 6e 0d 2d 2d |f it = 2| then.--|
|00004c30| 20 68 61 6e 64 6c 65 64 | 20 69 6e 20 73 74 61 63 | handled| in stac|
|00004c40| 6b 20 73 63 72 69 70 74 | 0d 63 61 6e 63 65 6c 41 |k script|.cancelA|
|00004c50| 6c 65 72 74 20 74 68 65 | 52 65 73 75 6c 74 0d 65 |lert the|Result.e|
|00004c60| 78 69 74 20 74 6f 20 68 | 79 70 65 72 63 61 72 64 |xit to h|ypercard|
|00004c70| 0d 0d 2d 2d 20 69 66 20 | 74 68 65 72 65 20 77 61 |..-- if |there wa|
|00004c80| 73 20 61 6e 20 65 72 72 | 6f 72 2c 20 72 65 70 6f |s an err|or, repo|
|00004c90| 72 74 20 69 74 20 61 6e | 64 20 62 61 69 6c 20 6f |rt it an|d bail o|
|00004ca0| 75 74 0d 65 6c 73 65 20 | 69 66 20 78 45 72 72 6f |ut.else |if xErro|
|00004cb0| 72 20 74 68 65 6e 20 20 | 2d 2d 20 63 68 65 63 6b |r then |-- check|
|00004cc0| 20 66 6f 72 20 61 6e 20 | 65 72 72 6f 72 0d 6d 65 | for an |error.me|
|00004cd0| 6d 41 6c 65 72 74 0d 65 | 78 69 74 20 74 6f 20 68 |mAlert.e|xit to h|
|00004ce0| 79 70 65 72 63 61 72 64 | 0d 65 6e 64 20 69 66 0d |ypercard|.end if.|
|00004cf0| 0d 2d 2d 20 67 65 74 20 | 74 68 65 20 62 75 74 74 |.-- get |the butt|
|00004d00| 6f 6e 20 68 69 74 0d 70 | 75 74 20 6c 69 6e 65 20 |on hit.p|ut line |
|00004d10| 31 20 6f 66 20 69 74 20 | 69 6e 74 6f 20 62 48 69 |1 of it |into bHi|
|00004d20| 74 0d 0d 2d 2d 20 70 75 | 74 20 74 68 65 20 74 65 |t..-- pu|t the te|
|00004d30| 78 74 20 66 72 6f 6d 20 | 74 68 65 20 74 65 78 74 |xt from |the text|
|00004d40| 20 62 6f 78 20 69 6e 74 | 6f 20 74 68 65 20 76 61 | box int|o the va|
|00004d50| 72 69 61 62 6c 65 20 6e | 65 77 55 52 4c 0d 70 75 |riable n|ewURL.pu|
|00004d60| 74 20 6c 69 6e 65 20 33 | 20 6f 66 20 69 74 20 69 |t line 3| of it i|
|00004d70| 6e 74 6f 20 6e 65 77 55 | 52 4c 0d 0d 2d 2d 20 67 |nto newU|RL..-- g|
|00004d80| 65 74 20 74 68 65 20 72 | 61 64 69 6f 20 62 75 74 |et the r|adio but|
|00004d90| 74 6f 6e 20 73 65 6c 65 | 63 74 69 6f 6e 0d 70 75 |ton sele|ction.pu|
|00004da0| 74 20 6c 69 6e 65 20 34 | 20 6f 66 20 69 74 20 69 |t line 4| of it i|
|00004db0| 6e 74 6f 20 6c 61 73 74 | 52 61 64 69 6f 31 0d 0d |nto last|Radio1..|
|00004dc0| 2d 2d 20 61 6e 64 20 72 | 65 70 6f 72 74 20 62 61 |-- and r|eport ba|
|00004dd0| 63 6b 20 74 6f 20 74 68 | 65 20 75 73 65 72 0d 69 |ck to th|e user.i|
|00004de0| 66 20 6e 65 77 55 52 4c | 20 ad 20 22 22 20 74 68 |f newURL| . "" th|
|00004df0| 65 6e 0d 70 75 74 20 22 | 59 6f 75 20 73 65 6c 65 |en.put "|You sele|
|00004e00| 63 74 65 64 20 6f 72 20 | 65 6e 74 65 72 65 64 22 |cted or |entered"|
|00004e10| 20 26 26 20 71 75 6f 74 | 65 20 26 20 6e 65 77 55 | && quot|e & newU|
|00004e20| 52 4c 20 26 20 71 75 6f | 74 65 20 26 26 c2 0d 22 |RL & quo|te &&.."|
|00004e30| 61 6e 64 20 63 6c 69 63 | 6b 65 64 20 72 61 64 69 |and clic|ked radi|
|00004e40| 6f 20 62 75 74 74 6f 6e | 22 20 26 26 20 6c 61 73 |o button|" && las|
|00004e50| 74 52 61 64 69 6f 31 20 | 26 26 20 22 28 22 20 26 |tRadio1 |&& "(" &|
|00004e60| 20 70 69 63 6b 52 61 64 | 69 6f 28 6c 61 73 74 52 | pickRad|io(lastR|
|00004e70| 61 64 69 6f 31 20 2d 20 | 36 29 20 26 20 22 29 2e |adio1 - |6) & ").|
|00004e80| 22 c2 0d 69 6e 74 6f 20 | 70 72 6f 6d 70 74 0d 65 |"..into |prompt.e|
|00004e90| 6c 73 65 20 70 75 74 20 | 22 59 6f 75 20 66 6f 72 |lse put |"You for|
|00004ea0| 67 6f 74 20 74 6f 20 6d | 61 6b 65 20 61 20 73 65 |got to m|ake a se|
|00004eb0| 6c 65 63 74 69 6f 6e 20 | 6f 72 20 65 6e 74 65 72 |lection |or enter|
|00004ec0| 20 61 20 55 52 4c 2e 22 | 20 69 6e 74 6f 20 70 72 | a URL."| into pr|
|00004ed0| 6f 6d 70 74 0d 73 6d 41 | 6c 65 72 74 20 70 72 6f |ompt.smA|lert pro|
|00004ee0| 6d 70 74 0d 69 66 20 74 | 68 65 20 68 69 6c 69 74 |mpt.if t|he hilit|
|00004ef0| 65 20 6f 66 20 62 67 20 | 62 74 6e 20 69 64 20 37 |e of bg |btn id 7|
|00004f00| 30 20 74 68 65 6e 20 72 | 65 73 75 6c 74 73 41 6c |0 then r|esultsAl|
|00004f10| 65 72 74 20 74 68 65 52 | 65 73 75 6c 74 0d 65 6e |ert theR|esult.en|
|00004f20| 64 20 73 68 6f 77 50 6f | 70 00 00 22 00 0a 02 95 |d showPo|p.."....|
|00004f30| 00 2b 01 15 01 40 01 ef | 00 07 00 00 00 00 00 00 |.+...@..|........|
|00004f40| 00 15 00 0c 00 00 00 10 | 00 00 00 00 26 f2 00 0d |........|....&...|
|00004f50| 01 00 00 96 00 50 00 b0 | 00 94 a0 08 00 00 00 00 |.....P..|........|
|00004f60| 00 01 00 00 00 0c 00 00 | 00 10 44 65 6d 6f 00 00 |........|..Demo..|
|00004f70| 6f 6e 20 6d 6f 75 73 65 | 55 70 0d 70 75 74 20 68 |on mouse|Up.put h|
|00004f80| 69 6c 69 74 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |ilite of| bg btn |
|00004f90| 69 64 20 34 34 20 69 6e | 74 6f 20 69 73 4d 6f 76 |id 44 in|to isMov|
|00004fa0| 61 62 6c 65 0d 69 66 20 | 6f 66 66 73 65 74 28 22 |able.if |offset("|
|00004fb0| 6e 6f 72 6d 61 6c 22 2c | 73 68 6f 72 74 20 6e 61 |normal",|short na|
|00004fc0| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 64 29 20 3e |me of th|is cd) >|
|00004fd0| 20 30 20 74 68 65 6e 20 | 73 68 6f 77 43 6f 6e 66 | 0 then |showConf|
|00004fe0| 69 72 6d 20 69 73 4d 6f | 76 61 62 6c 65 0d 65 6c |irm isMo|vable.el|
|00004ff0| 73 65 20 73 68 6f 77 50 | 6f 70 20 69 73 4d 6f 76 |se showP|op isMov|
|00005000| 61 62 6c 65 0d 65 6e 64 | 20 6d 6f 75 73 65 55 70 |able.end| mouseUp|
|00005010| 0d 0d 0d b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005020| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005030| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005040| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005050| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 0d 2d 2d 20 74 68 |........|...-- th|
|00005060| 69 73 20 69 73 20 74 68 | 65 20 68 61 6e 64 6c 65 |is is th|e handle|
|00005070| 72 20 74 68 61 74 20 72 | 75 6e 73 20 74 68 65 20 |r that r|uns the |
|00005080| 43 6f 6e 66 69 72 6d 20 | 64 69 61 6c 6f 67 0d b0 |Confirm |dialog..|
|00005090| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000050a0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000050b0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000050c0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000050d0| b0 b0 b0 b0 b0 b0 0d 6f | 6e 20 73 68 6f 77 43 6f |.......o|n showCo|
|000050e0| 6e 66 69 72 6d 20 69 73 | 4d 6f 76 61 62 6c 65 0d |nfirm is|Movable.|
|000050f0| 67 6c 6f 62 61 6c 20 78 | 45 72 72 6f 72 0d 70 75 |global x|Error.pu|
|00005100| 74 20 22 41 72 65 20 79 | 6f 75 20 73 75 72 65 20 |t "Are y|ou sure |
|00005110| 79 6f 75 20 77 61 6e 74 | 20 74 6f 20 74 72 61 73 |you want| to tras|
|00005120| 68 20 79 6f 75 72 20 65 | 6e 74 69 72 65 20 68 61 |h your e|ntire ha|
|00005130| 72 64 20 64 72 69 76 65 | 3f 22 20 69 6e 74 6f 20 |rd drive|?" into |
|00005140| 70 72 6f 6d 70 74 0d 0d | 70 75 74 20 31 32 32 35 |prompt..|put 1225|
|00005150| 20 69 6e 74 6f 20 64 49 | 44 0d 69 66 20 69 73 4d | into dI|D.if isM|
|00005160| 6f 76 61 62 6c 65 20 74 | 68 65 6e 0d 2d 2d 20 6d |ovable t|hen.-- m|
|00005170| 61 6b 65 20 73 75 72 65 | 20 74 68 65 72 65 27 73 |ake sure| there's|
|00005180| 20 73 6f 6d 65 74 68 69 | 6e 67 20 69 6e 20 6d 79 | somethi|ng in my|
|00005190| 4c 6f 63 0d 69 66 20 6c | 69 6e 65 20 33 20 6f 66 |Loc.if l|ine 3 of|
|000051a0| 20 66 6c 64 20 69 64 20 | 33 33 20 3d 20 22 22 20 | fld id |33 = "" |
|000051b0| 74 68 65 6e 20 70 75 74 | 20 22 43 22 20 69 6e 74 |then put| "C" int|
|000051c0| 6f 20 6d 79 4c 6f 63 0d | 65 6c 73 65 20 70 75 74 |o myLoc.|else put|
|000051d0| 20 67 65 74 4c 6f 63 28 | 6c 69 6e 65 20 33 20 6f | getLoc(|line 3 o|
|000051e0| 66 20 66 6c 64 20 69 64 | 20 33 33 29 20 69 6e 74 |f fld id| 33) int|
|000051f0| 6f 20 6d 79 4c 6f 63 0d | 2d 2d 20 58 43 4d 44 20 |o myLoc.|-- XCMD |
|00005200| 73 65 74 73 20 74 68 65 | 20 64 69 61 6c 6f 67 20 |sets the| dialog |
|00005210| 74 79 70 65 20 74 6f 20 | 75 73 65 72 27 73 20 63 |type to |user's c|
|00005220| 68 6f 69 63 65 0d 65 6c | 73 65 0d 2d 2d 20 6e 6f |hoice.el|se.-- no|
|00005230| 74 20 6d 6f 76 61 62 6c | 65 20 2d 2d 20 63 65 6e |t movabl|e -- cen|
|00005240| 74 65 72 20 69 6e 20 73 | 63 72 65 65 6e 0d 70 75 |ter in s|creen.pu|
|00005250| 74 20 22 53 22 20 69 6e | 74 6f 20 6d 79 4c 6f 63 |t "S" in|to myLoc|
|00005260| 0d 2d 2d 20 61 6e 64 20 | 6d 61 6b 65 20 69 74 20 |.-- and |make it |
|00005270| 6d 6f 64 61 6c 0d 61 64 | 64 20 31 20 74 6f 20 64 |modal.ad|d 1 to d|
|00005280| 49 44 0d 65 6e 64 20 69 | 66 0d 0d 2d 2d 20 6e 6f |ID.end i|f..-- no|
|00005290| 77 20 74 68 61 74 20 77 | 65 20 68 61 76 65 20 76 |w that w|e have v|
|000052a0| 61 6c 75 65 73 20 69 6e | 20 74 68 65 20 70 61 72 |alues in| the par|
|000052b0| 61 6d 65 74 65 72 73 2c | 20 73 68 6f 77 20 74 68 |ameters,| show th|
|000052c0| 65 20 64 69 61 6c 6f 67 | 0d 67 65 74 20 73 68 6f |e dialog|.get sho|
|000052d0| 77 4d 6f 64 61 6c 28 4e | 2c 20 64 49 44 2c 20 70 |wModal(N|, dID, p|
|000052e0| 72 6f 6d 70 74 2c 20 22 | 22 2c 20 22 22 2c 20 22 |rompt, "|", "", "|
|000052f0| 22 2c 20 22 22 2c 20 22 | 22 2c 20 6d 79 4c 6f 63 |", "", "|", myLoc|
|00005300| 29 0d 70 75 74 20 69 74 | 20 69 6e 74 6f 20 74 68 |).put it| into th|
|00005310| 65 52 65 73 75 6c 74 0d | 0d 2d 2d 20 69 66 20 69 |eResult.|.-- if i|
|00005320| 74 27 73 20 6d 6f 76 61 | 62 6c 65 2c 20 73 74 6f |t's mova|ble, sto|
|00005330| 72 65 20 74 68 65 20 6f | 66 66 73 65 74 20 66 72 |re the o|ffset fr|
|00005340| 6f 6d 20 74 68 65 20 63 | 61 72 64 20 6c 6f 63 20 |om the c|ard loc |
|00005350| 66 6f 72 20 6c 61 74 65 | 72 20 75 73 65 0d 69 66 |for late|r use.if|
|00005360| 20 69 73 4d 6f 76 61 62 | 6c 65 20 74 68 65 6e 20 | isMovab|le then |
|00005370| 70 75 74 20 73 65 74 4c | 6f 63 28 6c 61 73 74 20 |put setL|oc(last |
|00005380| 6c 69 6e 65 20 6f 66 20 | 69 74 29 20 69 6e 74 6f |line of |it) into|
|00005390| 20 6c 69 6e 65 20 33 20 | 6f 66 20 66 6c 64 20 69 | line 3 |of fld i|
|000053a0| 64 20 33 33 0d 0d 69 66 | 20 78 45 72 72 6f 72 20 |d 33..if| xError |
|000053b0| 74 68 65 6e 0d 6d 65 6d | 41 6c 65 72 74 0d 65 78 |then.mem|Alert.ex|
|000053c0| 69 74 20 74 6f 20 68 79 | 70 65 72 43 61 72 64 0d |it to hy|perCard.|
|000053d0| 65 6e 64 20 69 66 0d 0d | 2d 2d 20 63 61 6e 63 65 |end if..|-- cance|
|000053e0| 6c 41 6c 65 72 74 2c 20 | 6d 65 6d 41 6c 65 72 74 |lAlert, |memAlert|
|000053f0| 20 61 6e 64 20 73 6d 41 | 6c 65 72 74 20 68 61 6e | and smA|lert han|
|00005400| 64 6c 65 64 20 69 6e 20 | 73 74 61 63 6b 20 73 63 |dled in |stack sc|
|00005410| 72 69 70 74 0d 2d 2d 20 | 74 68 65 20 43 61 6e 63 |ript.-- |the Canc|
|00005420| 65 6c 20 62 75 74 74 6f | 6e 20 69 73 20 23 31 20 |el butto|n is #1 |
|00005430| 69 6e 20 74 68 69 73 20 | 64 69 61 6c 6f 67 20 74 |in this |dialog t|
|00005440| 6f 20 6d 61 6b 65 20 69 | 74 20 74 68 65 20 64 65 |o make i|t the de|
|00005450| 66 61 75 6c 74 20 61 63 | 74 69 6f 6e 0d 2d 2d 20 |fault ac|tion.-- |
|00005460| 69 66 20 74 68 65 20 75 | 73 65 72 20 73 65 6c 65 |if the u|ser sele|
|00005470| 63 74 73 20 43 61 6e 63 | 65 6c 2c 20 62 61 69 6c |cts Canc|el, bail|
|00005480| 20 6f 75 74 0d 69 66 20 | 6c 69 6e 65 20 31 20 6f | out.if |line 1 o|
|00005490| 66 20 69 74 20 3d 20 31 | 20 74 68 65 6e 0d 63 61 |f it = 1| then.ca|
|000054a0| 6e 63 65 6c 41 6c 65 72 | 74 20 74 68 65 52 65 73 |ncelAler|t theRes|
|000054b0| 75 6c 74 0d 0d 2d 2d 20 | 6f 74 68 65 72 77 69 73 |ult..-- |otherwis|
|000054c0| 65 20 77 65 27 72 65 20 | 73 75 63 63 65 73 73 66 |e we're |successf|
|000054d0| 75 6c 2c 20 6c 65 74 27 | 73 20 67 6f 21 0d 65 6c |ul, let'|s go!.el|
|000054e0| 73 65 0d 73 6d 41 6c 65 | 72 74 20 22 59 69 70 70 |se.smAle|rt "Yipp|
|000054f0| 65 65 21 20 48 65 72 65 | 20 77 65 20 67 6f 2e 22 |ee! Here| we go."|
|00005500| 0d 0d 0d 69 66 20 74 68 | 65 20 68 69 6c 69 74 65 |...if th|e hilite|
|00005510| 20 6f 66 20 62 67 20 62 | 74 6e 20 69 64 20 37 30 | of bg b|tn id 70|
|00005520| 20 74 68 65 6e 0d 72 65 | 73 75 6c 74 73 41 6c 65 | then.re|sultsAle|
|00005530| 72 74 20 74 68 65 52 65 | 73 75 6c 74 0d 65 6e 64 |rt theRe|sult.end|
|00005540| 20 69 66 0d 65 6e 64 20 | 69 66 0d 0d 65 6e 64 20 | if.end |if..end |
|00005550| 73 68 6f 77 43 6f 6e 66 | 69 72 6d 0d 0d b0 b0 b0 |showConf|irm.....|
|00005560| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005570| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005580| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005590| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|000055a0| b0 b0 b0 b0 0d 2d 2d 20 | 54 68 65 20 66 6f 6c 6c |.....-- |The foll|
|000055b0| 6f 77 69 6e 67 20 73 65 | 74 20 6f 66 20 68 61 6e |owing se|t of han|
|000055c0| 64 6c 65 72 73 20 72 75 | 6e 20 74 68 65 20 43 6f |dlers ru|n the Co|
|000055d0| 6d 70 6c 65 78 20 6d 65 | 6e 75 20 64 69 61 6c 6f |mplex me|nu dialo|
|000055e0| 67 0d 2d 2d 20 54 68 65 | 72 65 20 61 72 65 20 66 |g.-- The|re are f|
|000055f0| 6f 75 72 20 68 61 6e 64 | 6c 65 72 73 20 69 6e 20 |our hand|lers in |
|00005600| 61 6c 6c 3a 0d 0d 2d 2d | 20 73 68 6f 77 50 6f 70 |all:..--| showPop|
|00005610| 3a 20 74 68 65 20 70 6f | 70 75 70 20 6d 65 6e 75 |: the po|pup menu|
|00005620| 20 64 69 61 6c 6f 67 20 | 68 61 6e 64 6c 65 72 0d | dialog |handler.|
|00005630| 2d 2d 20 65 64 69 74 4d | 65 6e 75 3a 20 74 68 65 |-- editM|enu: the|
|00005640| 20 6c 69 73 74 20 64 69 | 61 6c 6f 67 20 68 61 6e | list di|alog han|
|00005650| 64 6c 65 72 20 74 68 61 | 74 20 6c 65 74 73 20 79 |dler tha|t lets y|
|00005660| 6f 75 20 65 64 69 74 20 | 6d 65 6e 75 20 69 74 65 |ou edit |menu ite|
|00005670| 6d 73 0d 2d 2d 20 68 61 | 6e 64 6c 65 41 64 64 3a |ms.-- ha|ndleAdd:|
|00005680| 20 74 68 65 20 74 65 78 | 74 20 69 6e 70 75 74 20 | the tex|t input |
|00005690| 64 69 61 6c 6f 67 20 68 | 61 6e 64 6c 65 72 20 74 |dialog h|andler t|
|000056a0| 68 61 74 20 6c 65 74 73 | 20 79 6f 75 20 61 64 64 |hat lets| you add|
|000056b0| 20 61 6e 20 69 74 65 6d | 0d 2d 2d 20 68 61 6e 64 | an item|.-- hand|
|000056c0| 6c 65 45 64 69 74 3a 20 | 74 68 65 20 74 65 78 74 |leEdit: |the text|
|000056d0| 20 69 6e 70 75 74 20 64 | 69 61 6c 6f 67 20 68 61 | input d|ialog ha|
|000056e0| 6e 64 6c 65 72 20 74 68 | 61 74 20 6c 65 74 73 20 |ndler th|at lets |
|000056f0| 79 6f 75 20 65 64 69 74 | 20 61 6e 20 69 74 65 6d |you edit| an item|
|00005700| 0d 2d 2d 20 68 61 6e 64 | 6c 65 44 65 6c 65 74 65 |.-- hand|leDelete|
|00005710| 3a 20 74 68 65 20 43 6f | 6e 66 69 72 6d 20 64 69 |: the Co|nfirm di|
|00005720| 61 6c 6f 67 20 68 61 6e | 64 6c 65 72 20 74 68 61 |alog han|dler tha|
|00005730| 74 20 6c 65 74 73 20 79 | 6f 75 20 64 65 6c 65 74 |t lets y|ou delet|
|00005740| 65 20 69 74 65 6d 73 0d | b0 b0 b0 b0 b0 b0 b0 b0 |e items.|........|
|00005750| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005760| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005770| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005780| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 0d |........|........|
|00005790| 6f 6e 20 73 68 6f 77 50 | 6f 70 20 69 73 4d 6f 76 |on showP|op isMov|
|000057a0| 61 62 6c 65 2c 20 68 61 | 73 43 68 61 6e 67 65 64 |able, ha|sChanged|
|000057b0| 0d 67 6c 6f 62 61 6c 20 | 78 45 72 72 6f 72 0d 0d |.global |xError..|
|000057c0| 2d 2d 20 73 65 74 20 75 | 70 20 64 69 61 6c 6f 67 |-- set u|p dialog|
|000057d0| 20 70 61 72 61 6d 65 74 | 65 72 73 0d 70 75 74 20 | paramet|ers.put |
|000057e0| 22 4d 61 6b 65 20 61 20 | 73 65 6c 65 63 74 69 6f |"Make a |selectio|
|000057f0| 6e 20 28 53 65 6c 65 63 | 74 20 d2 45 64 69 74 20 |n (Selec|t .Edit |
|00005800| 6d 65 6e 75 2e 2e 2e d3 | 20 74 6f 20 63 68 61 6e |menu....| to chan|
|00005810| 67 65 20 6f 70 74 69 6f | 6e 73 29 22 20 69 6e 74 |ge optio|ns)" int|
|00005820| 6f 20 70 72 6f 6d 70 74 | 0d 70 75 74 20 31 33 30 |o prompt|.put 130|
|00005830| 30 20 69 6e 74 6f 20 64 | 49 44 0d 70 75 74 20 66 |0 into d|ID.put f|
|00005840| 6c 64 20 69 64 20 36 32 | 20 69 6e 74 6f 20 74 68 |ld id 62| into th|
|00005850| 65 4d 65 6e 75 0d 2d 2d | 20 64 65 70 65 6e 64 69 |eMenu.--| dependi|
|00005860| 6e 67 20 6f 6e 20 77 68 | 65 74 68 65 72 20 69 74 |ng on wh|ether it|
|00005870| 27 73 20 6d 6f 76 61 62 | 6c 65 2e 2e 2e 0d 69 66 |'s movab|le....if|
|00005880| 20 69 73 4d 6f 76 61 62 | 6c 65 20 74 68 65 6e 0d | isMovab|le then.|
|00005890| 69 66 20 6c 69 6e 65 20 | 35 20 6f 66 20 66 6c 64 |if line |5 of fld|
|000058a0| 20 69 64 20 33 33 20 3d | 20 22 22 20 74 68 65 6e | id 33 =| "" then|
|000058b0| 20 70 75 74 20 22 43 22 | 20 69 6e 74 6f 20 6d 79 | put "C"| into my|
|000058c0| 4c 6f 63 0d 65 6c 73 65 | 20 70 75 74 20 67 65 74 |Loc.else| put get|
|000058d0| 4c 6f 63 28 6c 69 6e 65 | 20 35 20 6f 66 20 66 6c |Loc(line| 5 of fl|
|000058e0| 64 20 69 64 20 33 33 29 | 20 69 6e 74 6f 20 6d 79 |d id 33)| into my|
|000058f0| 4c 6f 63 0d 65 6c 73 65 | 0d 2d 2d 20 6f 72 20 6e |Loc.else|.-- or n|
|00005900| 6f 74 0d 70 75 74 20 22 | 43 22 20 69 6e 74 6f 20 |ot.put "|C" into |
|00005910| 6d 79 4c 6f 63 0d 61 64 | 64 20 31 20 74 6f 20 64 |myLoc.ad|d 1 to d|
|00005920| 49 44 0d 65 6e 64 20 69 | 66 0d 0d 2d 2d 20 69 6e |ID.end i|f..-- in|
|00005930| 69 74 69 61 6c 69 69 7a | 65 20 66 6c 61 67 0d 69 |itialiiz|e flag.i|
|00005940| 66 20 68 61 73 43 68 61 | 6e 67 65 64 20 3d 20 22 |f hasCha|nged = "|
|00005950| 22 20 74 68 65 6e 20 70 | 75 74 20 66 61 6c 73 65 |" then p|ut false|
|00005960| 20 69 6e 74 6f 20 68 61 | 73 43 68 61 6e 67 65 64 | into ha|sChanged|
|00005970| 0d 0d 2d 2d 20 6e 6f 77 | 20 74 68 61 74 20 70 61 |..-- now| that pa|
|00005980| 72 61 6d 65 74 65 72 73 | 20 61 72 65 20 73 65 74 |rameters| are set|
|00005990| 20 75 70 2c 20 73 68 6f | 77 20 74 68 65 20 64 69 | up, sho|w the di|
|000059a0| 61 6c 6f 67 0d 67 65 74 | 20 73 68 6f 77 4d 6f 64 |alog.get| showMod|
|000059b0| 61 6c 28 50 2c 64 49 44 | 2c 70 72 6f 6d 70 74 2c |al(P,dID|,prompt,|
|000059c0| 22 22 2c 20 74 68 65 4d | 65 6e 75 2c 22 22 2c 22 |"", theM|enu,"","|
|000059d0| 22 2c 22 22 2c 6d 79 4c | 6f 63 2c 22 22 2c 22 22 |","",myL|oc,"",""|
|000059e0| 2c 22 31 2c 31 22 29 0d | 70 75 74 20 69 74 20 69 |,"1,1").|put it i|
|000059f0| 6e 74 6f 20 74 68 65 52 | 65 73 75 6c 74 0d 0d 2d |nto theR|esult..-|
|00005a00| 2d 20 69 66 20 69 74 27 | 73 20 6d 6f 76 61 62 6c |- if it'|s movabl|
|00005a10| 65 2c 20 73 74 6f 72 65 | 20 74 68 65 20 6f 66 66 |e, store| the off|
|00005a20| 73 65 74 20 66 72 6f 6d | 20 74 68 65 20 63 61 72 |set from| the car|
|00005a30| 64 20 77 69 6e 64 6f 77 | 20 66 6f 72 20 6c 61 74 |d window| for lat|
|00005a40| 65 72 20 75 73 65 0d 69 | 66 20 69 73 4d 6f 76 61 |er use.i|f isMova|
|00005a50| 62 6c 65 20 74 68 65 6e | 20 70 75 74 20 73 65 74 |ble then| put set|
|00005a60| 4c 6f 63 28 6c 61 73 74 | 20 6c 69 6e 65 20 6f 66 |Loc(last| line of|
|00005a70| 20 69 74 29 20 69 6e 74 | 6f 20 6c 69 6e 65 20 35 | it) int|o line 5|
|00005a80| 20 6f 66 20 66 6c 64 20 | 69 64 20 33 33 0d 0d 2d | of fld |id 33..-|
|00005a90| 2d 20 69 66 20 74 68 65 | 20 75 73 65 72 20 68 69 |- if the| user hi|
|00005aa0| 74 20 43 61 6e 63 65 6c | 2c 20 62 61 69 6c 20 6f |t Cancel|, bail o|
|00005ab0| 75 74 0d 69 66 20 6c 69 | 6e 65 20 31 20 6f 66 20 |ut.if li|ne 1 of |
|00005ac0| 69 74 20 3d 20 32 20 74 | 68 65 6e 0d 69 66 20 68 |it = 2 t|hen.if h|
|00005ad0| 61 73 43 68 61 6e 67 65 | 64 20 74 68 65 6e 20 73 |asChange|d then s|
|00005ae0| 6d 41 6c 65 72 74 20 22 | 59 6f 75 20 65 64 69 74 |mAlert "|You edit|
|00005af0| 65 64 20 74 68 65 20 6d | 65 6e 75 20 61 6e 64 20 |ed the m|enu and |
|00005b00| 74 68 65 6e 20 63 6c 69 | 63 6b 65 64 20 43 61 6e |then cli|cked Can|
|00005b10| 63 65 6c 20 69 6e 20 74 | 68 65 20 70 6f 70 75 70 |cel in t|he popup|
|00005b20| 20 64 69 61 6c 6f 67 2e | 22 0d 65 6c 73 65 20 73 | dialog.|".else s|
|00005b30| 6d 41 6c 65 72 74 20 22 | 59 6f 75 20 6c 65 66 74 |mAlert "|You left|
|00005b40| 20 74 68 65 20 6d 65 6e | 75 20 75 6e 63 68 61 6e | the men|u unchan|
|00005b50| 67 65 64 20 61 6e 64 20 | 74 68 65 6e 20 63 6c 69 |ged and |then cli|
|00005b60| 63 6b 65 64 20 43 61 6e | 63 65 6c 20 69 6e 20 74 |cked Can|cel in t|
|00005b70| 68 65 20 70 6f 70 75 70 | 20 64 69 61 6c 6f 67 2e |he popup| dialog.|
|00005b80| 22 0d 69 66 20 74 68 65 | 20 68 69 6c 69 74 65 20 |".if the| hilite |
|00005b90| 6f 66 20 62 67 20 62 74 | 6e 20 69 64 20 37 30 20 |of bg bt|n id 70 |
|00005ba0| 74 68 65 6e 20 72 65 73 | 75 6c 74 73 41 6c 65 72 |then res|ultsAler|
|00005bb0| 74 20 74 68 65 52 65 73 | 75 6c 74 0d 65 78 69 74 |t theRes|ult.exit|
|00005bc0| 20 74 6f 20 68 79 70 65 | 72 63 61 72 64 0d 65 6c | to hype|rcard.el|
|00005bd0| 73 65 20 69 66 20 78 45 | 72 72 6f 72 20 74 68 65 |se if xE|rror the|
|00005be0| 6e 20 20 2d 2d 20 63 68 | 65 63 6b 20 66 6f 72 20 |n -- ch|eck for |
|00005bf0| 61 6e 20 65 72 72 6f 72 | 0d 6d 65 6d 41 6c 65 72 |an error|.memAler|
|00005c00| 74 0d 65 78 69 74 20 74 | 6f 20 68 79 70 65 72 63 |t.exit t|o hyperc|
|00005c10| 61 72 64 0d 65 6e 64 20 | 69 66 0d 0d 2d 2d 20 6e |ard.end |if..-- n|
|00005c20| 6f 77 20 61 63 74 20 6f | 6e 20 74 68 65 20 75 73 |ow act o|n the us|
|00005c30| 65 72 27 73 20 63 68 6f | 69 63 65 0d 67 65 74 20 |er's cho|ice.get |
|00005c40| 6c 69 6e 65 20 32 20 6f | 66 20 69 74 0d 0d 2d 2d |line 2 o|f it..--|
|00005c50| 20 65 69 74 68 65 72 20 | 68 61 6e 64 6c 65 20 74 | either |handle t|
|00005c60| 68 65 20 75 73 65 72 27 | 73 20 65 64 69 74 69 6e |he user'|s editin|
|00005c70| 67 20 63 68 6f 69 63 65 | 0d 2d 2d 20 6f 72 20 72 |g choice|.-- or r|
|00005c80| 65 70 6f 72 74 20 74 68 | 65 20 6c 69 6e 65 20 6f |eport th|e line o|
|00005c90| 66 20 74 68 65 20 6d 65 | 6e 75 20 73 65 6c 65 63 |f the me|nu selec|
|00005ca0| 74 65 64 0d 69 66 20 69 | 74 20 3d 20 31 20 74 68 |ted.if i|t = 1 th|
|00005cb0| 65 6e 0d 70 75 74 20 65 | 64 69 74 4d 65 6e 75 28 |en.put e|ditMenu(|
|00005cc0| 69 73 4d 6f 76 61 62 6c | 65 2c 20 68 61 73 43 68 |isMovabl|e, hasCh|
|00005cd0| 61 6e 67 65 64 29 20 69 | 6e 74 6f 20 68 61 73 43 |anged) i|nto hasC|
|00005ce0| 68 61 6e 67 65 64 0d 73 | 68 6f 77 50 6f 70 20 69 |hanged.s|howPop i|
|00005cf0| 73 4d 6f 76 61 62 6c 65 | 2c 20 68 61 73 43 68 61 |sMovable|, hasCha|
|00005d00| 6e 67 65 64 0d 65 78 69 | 74 20 73 68 6f 77 50 6f |nged.exi|t showPo|
|00005d10| 70 0d 65 6c 73 65 0d 69 | 66 20 68 61 73 43 68 61 |p.else.i|f hasCha|
|00005d20| 6e 67 65 64 20 74 68 65 | 6e 20 73 6d 41 6c 65 72 |nged the|n smAler|
|00005d30| 74 20 22 59 6f 75 20 65 | 64 69 74 65 64 20 74 68 |t "You e|dited th|
|00005d40| 65 20 6d 65 6e 75 20 61 | 6e 64 20 74 68 65 6e 20 |e menu a|nd then |
|00005d50| 70 69 63 6b 65 64 20 6c | 69 6e 65 22 20 26 26 20 |picked l|ine" && |
|00005d60| 69 74 20 26 26 20 22 69 | 6e 20 74 68 65 20 70 6f |it && "i|n the po|
|00005d70| 70 75 70 20 6d 65 6e 75 | 22 20 26 26 20 22 28 22 |pup menu|" && "("|
|00005d80| 20 26 20 6c 69 6e 65 20 | 69 74 20 6f 66 20 66 6c | & line |it of fl|
|00005d90| 64 20 69 64 20 36 32 20 | 26 20 22 29 2e 22 0d 65 |d id 62 |& ").".e|
|00005da0| 6c 73 65 20 73 6d 41 6c | 65 72 74 20 22 59 6f 75 |lse smAl|ert "You|
|00005db0| 20 6c 65 66 74 20 74 68 | 65 20 6d 65 6e 75 20 75 | left th|e menu u|
|00005dc0| 6e 63 68 61 6e 67 65 64 | 20 61 6e 64 20 74 68 65 |nchanged| and the|
|00005dd0| 6e 20 70 69 63 6b 65 64 | 20 6c 69 6e 65 22 20 26 |n picked| line" &|
|00005de0| 26 20 69 74 20 26 26 20 | 22 69 6e 20 74 68 65 20 |& it && |"in the |
|00005df0| 70 6f 70 75 70 20 6d 65 | 6e 75 22 20 26 26 20 22 |popup me|nu" && "|
|00005e00| 28 22 20 26 20 6c 69 6e | 65 20 69 74 20 6f 66 20 |(" & lin|e it of |
|00005e10| 66 6c 64 20 69 64 20 36 | 32 20 26 20 22 29 2e 22 |fld id 6|2 & ")."|
|00005e20| 0d 65 6e 64 20 69 66 0d | 69 66 20 74 68 65 20 68 |.end if.|if the h|
|00005e30| 69 6c 69 74 65 20 6f 66 | 20 62 67 20 62 74 6e 20 |ilite of| bg btn |
|00005e40| 69 64 20 37 30 20 74 68 | 65 6e 20 72 65 73 75 6c |id 70 th|en resul|
|00005e50| 74 73 41 6c 65 72 74 20 | 74 68 65 52 65 73 75 6c |tsAlert |theResul|
|00005e60| 74 0d 65 6e 64 20 73 68 | 6f 77 50 6f 70 0d 0d 0d |t.end sh|owPop...|
|00005e70| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005e80| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005e90| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005ea0| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005eb0| b0 b0 b0 b0 b0 b0 b0 0d | 2d 2d 20 54 68 69 73 20 |........|-- This |
|00005ec0| 68 61 6e 64 6c 65 72 20 | 72 75 6e 73 20 74 68 65 |handler |runs the|
|00005ed0| 20 22 45 64 69 74 20 4d | 65 6e 75 22 20 6c 69 73 | "Edit M|enu" lis|
|00005ee0| 74 20 64 69 61 6c 6f 67 | 20 77 68 69 63 68 20 69 |t dialog| which i|
|00005ef0| 73 20 63 61 6c 6c 65 64 | 20 62 79 0d 2d 2d 20 74 |s called| by.-- t|
|00005f00| 68 65 20 61 62 6f 76 65 | 20 68 61 6e 64 6c 65 72 |he above| handler|
|00005f10| 20 28 61 6e 64 20 6f 74 | 68 65 72 73 20 69 6e 20 | (and ot|hers in |
|00005f20| 74 68 69 73 20 73 65 74 | 0d b0 b0 b0 b0 b0 b0 b0 |this set|........|
|00005f30| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005f40| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005f50| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005f60| b0 b0 b0 b0 b0 b0 b0 b0 | b0 b0 b0 b0 b0 b0 b0 b0 |........|........|
|00005f70| 0d 66 75 6e 63 74 69 6f | 6e 20 65 64 69 74 4d 65 |.functio|n editMe|
|00005f80| 6e 75 20 69 73 4d 6f 76 | 61 62 6c 65 2c 68 61 73 |nu isMov|able,has|
|00005f90| 43 68 61 6e 67 65 64 0d | 2d 2d 20 73 65 74 20 75 |Changed.|-- set u|
|00005fa0| 70 20 70 61 72 61 6d 65 | 74 65 72 73 0d 70 75 74 |p parame|ters.put|
|00005fb0| 20 31 33 36 30 20 69 6e | 74 6f 20 64 49 44 0d 70 | 1360 in|to dID.p|
|00005fc0| 75 74 20 22 45 64 69 74 | 20 6d 65 6e 75 20 69 74 |ut "Edit| menu it|
|00005fd0| 65 6d 73 2e 2e 2e 22 20 | 69 6e 74 6f 20 70 72 6f |ems..." |into pro|
|00005fe0| 6d 70 74 0d 0d 2d 2d 20 | 64 65 70 65 6e 64 69 6e |mpt..-- |dependin|
|00005ff0| 67 20 6f 6e 20 77 68 65 | 74 68 65 72 20 74 68 65 |g on whe|ther the|
|00006000| 20 64 69 61 6c 6f 67 20 | 69 73 20 6d 6f 76 61 62 | dialog |is movab|
|00006010| 6c 65 2e 2e 2e 0d 69 66 | 20 69 73 4d 6f 76 61 62 |le....if| isMovab|
|00006020| 6c 65 20 74 68 65 6e 0d | 69 66 20 6c 69 6e 65 20 |le then.|if line |
|00006030| 36 20 6f 66 20 66 6c 64 | 20 69 64 20 33 33 20 3d |6 of fld| id 33 =|
|00006040| 20 22 22 20 74 68 65 6e | 20 70 75 74 20 22 43 22 | "" then| put "C"|
|00006050| 20 69 6e 74 6f 20 6d 79 | 4c 6f 63 0d 65 6c 73 65 | into my|Loc.else|
|00006060| 20 70 75 74 20 67 65 74 | 4c 6f 63 28 6c 69 6e 65 | put get|Loc(line|
|00006070| 20 36 20 6f 66 20 66 6c | 64 20 69 64 20 33 33 29 | 6 of fl|d id 33)|
|00006080| 20 69 6e 74 6f 20 6d 79 | 4c 6f 63 0d 0d 65 6c 73 | into my|Loc..els|
|00006090| 65 0d 2d 2d 20 6f 72 20 | 6d 6f 64 61 6c 0d 70 75 |e.-- or |modal.pu|
|000060a0| 74 20 22 43 22 20 69 6e | 74 6f 20 6d 79 4c 6f 63 |t "C" in|to myLoc|
|000060b0| 0d 61 64 64 20 31 20 74 | 6f 20 64 49 44 0d 65 6e |.add 1 t|o dID.en|
|000060c0| 64 20 69 66 0d 0d 2d 2d | 20 77 65 27 6c 6c 20 75 |d if..--| we'll u|
|000060d0| 73 65 20 74 68 69 73 20 | 6c 61 74 65 72 0d 70 75 |se this |later.pu|
|000060e0| 74 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |t the nu|mber of |
|000060f0| 6c 69 6e 65 73 20 69 6e | 20 66 6c 64 20 69 64 20 |lines in| fld id |
|00006100| 36 32 20 69 6e 74 6f 20 | 6d 79 4c 69 6e 65 73 0d |62 into |myLines.|
|00006110| 0d 2d 2d 20 6e 6f 77 20 | 73 68 6f 77 20 74 68 65 |.-- now |show the|
|00006120| 20 64 69 61 6c 6f 67 0d | 67 65 74 20 73 68 6f 77 | dialog.|get show|
|00006130| 4d 6f 64 61 6c 28 4c 2c | 64 49 44 2c 70 72 6f 6d |Modal(L,|dID,prom|
|00006140| 70 74 2c 22 22 2c 6c 69 | 6e 65 20 33 20 74 6f 20 |pt,"",li|ne 3 to |
|00006150| 6d 79 4c 69 6e 65 73 20 | 6f 66 20 66 6c 64 20 69 |myLines |of fld i|
|00006160| 64 20 36 32 2c 22 22 2c | 22 22 2c 22 22 2c 6d 79 |d 62,"",|"","",my|
|00006170| 4c 6f 63 2c 41 2c 41 2c | 22 31 2c 36 22 29 0d 0d |Loc,A,A,|"1,6")..|
|00006180| 2d 2d 20 69 66 20 74 68 | 65 20 75 73 65 72 20 63 |-- if th|e user c|
|00006190| 6c 69 63 6b 65 64 20 44 | 6f 6e 65 2c 20 62 61 69 |licked D|one, bai|
|000061a0| 6c 20 6f 75 74 0d 2d 2d | 20 61 6c 65 72 74 20 74 |l out.--| alert t|
|000061b0| 68 65 6d 20 74 6f 20 61 | 6e 79 20 63 68 61 6e 67 |hem to a|ny chang|
|000061c0| 65 73 20 69 6e 20 6d 65 | 6e 75 0d 2d 2d 20 28 77 |es in me|nu.-- (w|
|000061d0| 65 20 6d 61 64 65 20 44 | 6f 6e 65 20 62 75 74 74 |e made D|one butt|
|000061e0| 6f 6e 20 6e 75 6d 62 65 | 72 20 32 20 73 6f 20 74 |on numbe|r 2 so t|
|000061f0| 68 65 20 75 73 65 72 20 | 63 61 6e 20 70 72 65 73 |he user |can pres|
|00006200| 73 20 45 73 63 61 70 65 | 20 6f 72 0d 2d 2d 20 43 |s Escape| or.-- C|
|00006210| 6f 6d 6d 61 6e 64 2d 50 | 65 72 69 6f 64 20 74 6f |ommand-P|eriod to|
|00006220| 20 71 75 69 74 20 65 64 | 69 74 69 6e 67 29 0d 69 | quit ed|iting).i|
|00006230| 66 20 6c 69 6e 65 20 31 | 20 6f 66 20 69 74 20 3d |f line 1| of it =|
|00006240| 20 31 20 74 68 65 6e 20 | 72 65 74 75 72 6e 20 68 | 1 then |return h|
|00006250| 61 73 43 68 61 6e 67 65 | 64 0d 0d 2d 2d 20 69 66 |asChange|d..-- if|
|00006260| 20 74 68 65 20 75 73 65 | 72 20 63 6c 69 63 6b 65 | the use|r clicke|
|00006270| 64 20 41 64 64 0d 69 66 | 20 6c 69 6e 65 20 31 20 |d Add.if| line 1 |
|00006280| 6f 66 20 69 74 20 3d 20 | 34 20 74 68 65 6e 20 2d |of it = |4 then -|
|00006290| 2d 20 22 41 64 64 22 0d | 2d 2d 20 67 6f 20 74 6f |- "Add".|-- go to|
|000062a0| 20 74 68 65 20 68 61 6e | 64 6c 65 41 64 64 20 66 | the han|dleAdd f|
|000062b0| 75 6e 63 74 69 6f 6e 20 | 74 6f 20 64 65 61 6c 20 |unction |to deal |
|000062c0| 77 69 74 68 20 69 74 0d | 70 75 74 20 68 61 6e 64 |with it.|put hand|
|000062d0| 6c 65 41 64 64 28 69 73 | 4d 6f 76 61 62 6c 65 2c |leAdd(is|Movable,|
|000062e0| 20 68 61 73 43 68 61 6e | 67 65 64 29 20 69 6e 74 | hasChan|ged) int|
|000062f0| 6f 20 68 61 73 43 68 61 | 6e 67 65 64 0d 2d 2d 20 |o hasCha|nged.-- |
|00006300| 74 68 65 6e 20 72 65 74 | 75 72 6e 20 74 68 69 73 |then ret|urn this|
|00006310| 20 64 69 61 6c 6f 67 20 | 66 6f 72 20 66 75 72 74 | dialog |for furt|
|00006320| 68 65 72 20 75 73 65 72 | 20 69 6e 74 65 72 61 63 |her user| interac|
|00006330| 74 69 6f 6e 0d 72 65 74 | 75 72 6e 20 65 64 69 74 |tion.ret|urn edit|
|00006340| 4d 65 6e 75 28 69 73 4d | 6f 76 61 62 6c 65 2c 20 |Menu(isM|ovable, |
|00006350| 68 61 73 43 68 61 6e 67 | 65 64 29 0d 65 78 69 74 |hasChang|ed).exit|
|00006360| 20 65 64 69 74 4d 65 6e | 75 0d 0d 2d 2d 20 69 66 | editMen|u..-- if|
|00006370| 20 74 68 65 20 75 73 65 | 72 20 64 69 64 6e 27 74 | the use|r didn't|
|00006380| 20 69 6e 64 69 63 61 74 | 65 20 61 20 6c 69 6e 65 | indicat|e a line|
|00006390| 20 74 6f 20 61 63 74 20 | 6f 6e 2c 20 74 68 72 6f | to act |on, thro|
|000063a0| 77 20 75 70 20 61 6e 20 | 61 6c 65 72 74 0d 65 6c |w up an |alert.el|
|000063b0| 73 65 20 69 66 20 28 6c | 69 6e 65 20 31 20 6f 66 |se if (l|ine 1 of|
|000063c0| 20 69 74 20 3d 20 35 20 | 6f 72 20 6c 69 6e 65 20 | it = 5 |or line |
|000063d0| 31 20 6f 66 20 69 74 20 | 3d 20 36 29 20 61 6e 64 |1 of it |= 6) and|
|000063e0| 20 6c 69 6e 65 20 32 20 | 6f 66 20 69 74 20 3d 20 | line 2 |of it = |
|000063f0| 22 22 20 74 68 65 6e 0d | 73 6d 41 6c 65 72 74 20 |"" then.|smAlert |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.